aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2018-11-14 16:39:39 +0100
committerDamjan Marion <dmarion@me.com>2018-11-15 17:21:33 +0000
commitbdcff0327db0ad680906462cdf955d5ae5191c69 (patch)
treeb1c173d31adb5c9249cfd9c316713e26f546abb6 /src
parente01f6ef9efced0b89df4618a7f5e8894c70bbac7 (diff)
acl-plugin: fix coverity error 188909 in unit-test code
The assignment was redundant with a one just a dozen lines above in the case of the ACL loaded being non-empty, so its only apparent purpose in life was make coverity unhappy... Thus fix by deletion. Change-Id: I573308cb9c212bdfdca2551aa381720dbbcb006e Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/acl/acl_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/acl/acl_test.c b/src/plugins/acl/acl_test.c
index dcb0888076d..ef98f79351f 100644
--- a/src/plugins/acl/acl_test.c
+++ b/src/plugins/acl/acl_test.c
@@ -652,7 +652,6 @@ api_acl_add_replace_from_file (vat_main_t * vam)
rules[rule_idx].proto = proto;
}
- rules[rule_idx].is_permit = is_permit;
if (append_default_permit) {
rule_idx++;