Similar branches of condition
./pattern.c:2042-2057
if (desc) {
if (final) {
ret = 1;
} else {
/* descending match create a new state */
xmlStreamCtxtAddState(stream, stepNr + 1,
stream->level + 1);
}
} else {
if (final) {
ret = 1;
} else {
xmlStreamCtxtAddState(stream, stepNr + 1,
stream->level + 1);
}
}
True and false branches of if (desc)
is identical
This is mistake? Or is it working as designed?