xml_read_image_info(): Do not warn about unnamed images
authorEric Biggers <ebiggers3@gmail.com>
Tue, 21 May 2013 18:04:24 +0000 (13:04 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 21 May 2013 18:04:24 +0000 (13:04 -0500)
src/xml.c

index b6a010c..67e0a22 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -447,7 +447,7 @@ xml_read_image_info(xmlNode *image_node, struct image_info *image_info)
        }
        if (!image_info->name) {
                tchar *empty_name;
-               WARNING("Image with index %d has no name", image_info->index);
+               /*WARNING("Image with index %d has no name", image_info->index);*/
                empty_name = MALLOC(sizeof(tchar));
                if (!empty_name)
                        return WIMLIB_ERR_NOMEM;