mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Removed 5 unnecessary dereferences (reported by Andriy, bug #301074).
* xmlschemas.c xmlregexp.c: Removed 5 unnecessary dereferences (reported by Andriy, bug #301074).
This commit is contained in:
@ -2635,14 +2635,14 @@ xmlRegStrEqualWildcard(const xmlChar *expStr, const xmlChar *valStr) {
|
||||
do {
|
||||
if (*valStr == XML_REG_STRING_SEPARATOR)
|
||||
break;
|
||||
*valStr++;
|
||||
valStr++;
|
||||
} while (*valStr != 0);
|
||||
continue;
|
||||
} else
|
||||
return(0);
|
||||
}
|
||||
*expStr++;
|
||||
*valStr++;
|
||||
expStr++;
|
||||
valStr++;
|
||||
} while (*valStr != 0);
|
||||
if (*expStr != 0)
|
||||
return (0);
|
||||
|
Reference in New Issue
Block a user