projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212e993
)
CLEANUP: acl: remove unused assignment
author
Ilya Shipitsin
<chipitsine@gmail.com>
Sat, 16 May 2020 17:42:12 +0000
(22:42 +0500)
committer
William Lallemand
<wlallemand@haproxy.org>
Mon, 18 May 2020 07:21:27 +0000
(09:21 +0200)
Coverity found unused variable assignment
CID 1299671 (#1 of 1): Unused value (UNUSED_VALUE)assigned_pointer:
Assigning value from args[arg + 1] to word here, but that stored
value is overwritten before it can be used.
958 word = args[arg + 1];
959 arg = arg_end;
src/acl.c
patch
|
blob
|
history
diff --git
a/src/acl.c
b/src/acl.c
index
f3d7af7
..
fa8ae92
100644
(file)
--- a/
src/acl.c
+++ b/
src/acl.c
@@
-955,7
+955,6
@@
struct acl_cond *parse_acl_cond(const char **args, struct list *known_acl,
/* note that parse_acl() must have filled <err> here */
goto out_free_suite;
}
- word = args[arg + 1];
arg = arg_end;
}
else {