From: Ilya Shipitsin Date: Sat, 16 May 2020 17:42:12 +0000 (+0500) Subject: CLEANUP: acl: remove unused assignment X-Git-Tag: v2.2-dev8~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd7212be10489c7b95bf04dddb5442fcc2bd3bac;p=thirdparty%2Fhaproxy.git CLEANUP: acl: remove unused assignment 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; --- diff --git a/src/acl.c b/src/acl.c index f3d7af789e..fa8ae92380 100644 --- 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 here */ goto out_free_suite; } - word = args[arg + 1]; arg = arg_end; } else {