
18 Mar
2018
18 Mar
'18
11:12 p.m.
It makes 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 --- lib/slre.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/lib/slre.c b/lib/slre.c index e26d344865..969c46a859 100644 --- a/lib/slre.c +++ b/lib/slre.c @@ -703,8 +703,6 @@ int main(int argc, char *argv[])
(void) memset(caps, 0, sizeof(caps));
- res = 0; - res = slre_match(&slre, data, len, caps); printf("Result [%d]: %d\n", i, res);
--
2.16.2