summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-05-02 00:32:50 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2023-05-02 00:32:50 +0200
commitc613ab14b85d5813ff834afe23adcab2cc82dc04 (patch)
tree16ed4a5b67efba59726f0ef91762aecfc1775bda
parenta06eaa6119ca5b296b8105dc8c9a34ed5fc1f338 (diff)
downloadlibxml2-c613ab14b85d5813ff834afe23adcab2cc82dc04.tar.gz
regexp: Fix mistake in previous commit
The `ret = 0` line should have been deleted. Fixes #531.
-rw-r--r--xmlregexp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmlregexp.c b/xmlregexp.c
index 5e35faa7..3fb7e0cf 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -2682,7 +2682,6 @@ xmlFARecurseDeterminism(xmlRegParserCtxtPtr ctxt, xmlRegStatePtr state,
if ((t1->to != tonr) ||
(!xmlFAEqualAtoms(t1->atom, atom, deep)))
ret = 0;
- ret = 0;
/* mark the transition as non-deterministic */
t1->nd = 1;
}