GNOME Bugzilla – Bug 704530
Array compared against 0
Last modified: 2013-07-22 06:31:01 UTC
In file : https://git.gnome.org/browse/libxml2/tree/debugXML.c Line no : 2949 if ((arg == NULL) || (arg[0] == 0)) xmlGenericError(xmlGenericErrorContext, "Write command requires a filename argument\n"); Here arg is an array. Comparing it to null ( arg==NULL) has no effect. So, this comparison should be removed.
Yup, useless code as the arg is allocated on the stack, https://git.gnome.org/browse/libxml2/commit/?id=ccc9cf9276d9f603f01302da885155556d236b56 thanks ! Daniel