1
0
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:
Kasimier T. Buchcik
2005-04-19 15:02:20 +00:00
parent 3d42666362
commit c0e833f002
3 changed files with 32 additions and 15 deletions

View File

@ -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);