commit | d6462bbbf2ea742eb8d031ea80b772bbdb2bc9e0 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Mon May 08 21:13:43 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri May 12 08:37:18 2017 -0400 |
tree | 46ad0df443f0585ea2a4adf15461aeeade3d86e6 | |
parent | a89009cb1af0ec7cd68b7238dabd056a97eb8d26 [diff] [blame] |
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: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/lib/slre.c b/lib/slre.c index f90749f..e26d344 100644 --- a/lib/slre.c +++ b/lib/slre.c
@@ -441,7 +441,7 @@ { 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;