Removed 5 unnecessary dereferences (reported by Andriy, bug #301074).
* xmlschemas.c xmlregexp.c: Removed 5 unnecessary
dereferences (reported by Andriy, bug #301074).
diff --git a/xmlregexp.c b/xmlregexp.c
index 495f1c5..30ffdef 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -2635,14 +2635,14 @@
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);