summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-02-17 12:56:24 +0100
committerPhil Sutter <phil@nwl.cc>2020-02-18 17:03:36 +0100
commitef10c1b8fc1e1f4d4019b2df4fcfb93f71430c85 (patch)
treeca1c1305591937b4768c30f44500bd4eb9e11603 /iptables
parentc33bae9c6c7a49c8af16df846e6112fc4727e643 (diff)
nft: Drop pointless assignmentHEADmaster
No need to set 'i' to zero here, it is not used before the next assignment. Fixes: 77e6a93d5c9dc ("xtables: add and set "implict" flag on transaction objects") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/nft.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft.c b/iptables/nft.c
index 806b77fe..2f0a8c4a 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -2821,7 +2821,6 @@ retry:
nft_refresh_transaction(h);
- i=0;
list_for_each_entry_safe(err, ne, &h->err_list, head)
mnl_err_list_free(err);