Skip to content
Snippets Groups Projects
Commit b8865e6b authored by xypron.glpk@gmx.de's avatar xypron.glpk@gmx.de Committed by Tom Rini
Browse files

lib/slre: remove superfluous assignment


The value assigned to saved_offset is never used.

The problem was indicated by clang scan-build.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent c42640c7
No related branches found
No related tags found
No related merge requests found
......@@ -441,7 +441,7 @@ loop_greedy(const struct slre *r, int pc, const char *s, int len, int *ofs)
{
int saved_offset, matched_offset;
saved_offset = matched_offset = *ofs;
matched_offset = *ofs;
while (match(r, pc + 2, s, len, ofs, NULL)) {
saved_offset = *ofs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment