From: Phil Sutter Date: Mon, 17 Feb 2020 11:56:24 +0000 (+0100) Subject: nft: Drop pointless assignment X-Git-Tag: v1.8.5~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef10c1b8fc1e1f4d4019b2df4fcfb93f71430c85;p=thirdparty%2Fiptables.git nft: Drop pointless assignment 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 --- 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);