commit | fb5d2f211c8adafa2284d567fb54761eddce5b89 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Sep 03 05:17:20 2018 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 05 16:02:34 2018 -0400 |
tree | 74398b068d9c6e5596087a0592426f3f94127985 | |
parent | 9a59a35638bd0357901c771aeedf873fc5ffdc17 [diff] |
lib/slre: remove superfluous assignment It makes no sense to assign a value to 'res' if the next use of the variable is an assignment. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/lib/slre.c b/lib/slre.c index e26d344..969c46a 100644 --- a/lib/slre.c +++ b/lib/slre.c
@@ -703,8 +703,6 @@ (void) memset(caps, 0, sizeof(caps)); - res = 0; - res = slre_match(&slre, data, len, caps); printf("Result [%d]: %d\n", i, res);