]> wimlib.net Git - wimlib/commitdiff
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 b6a010c4035f49189a34eda3f4703c9e3ab111a2..67e0a22277cae5a209ffcd1bb945bbe40fad0fd2 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;