* lib/regexec.c (re_search_internal) [!DEBUG]:
Remove unnecessary assignment to pacify Coverity.
2019-10-09 Paul Eggert <eggert@cs.ucla.edu>
+ regex: omit debug assignment when not debugging
+ * lib/regexec.c (re_search_internal) [!DEBUG]:
+ Remove unnecessary assignment.
+
regex: tell compiler there’s at most 256 arcs out
Partly this is to help the reader (and maybe help GCC);
partly this is to pacify Coverity.
break;
if (__glibc_unlikely (err != REG_NOMATCH))
goto free_return;
+#ifdef DEBUG
match_last = -1;
+#endif
}
else
break; /* We found a match. */