]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xtables: Remove unused variable in nft_is_table_compatible()
authorPhil Sutter <phil@nwl.cc>
Wed, 19 Sep 2018 13:16:47 +0000 (15:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 24 Sep 2018 09:23:55 +0000 (11:23 +0200)
This is a leftover from previous cleanup.

Fixes: 098ee2e91756c ("xtables-save: Ignore uninteresting tables")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft.c

index c67718c882a64f81cb61398299faa52d849754db..032c3788a20a74c5a9eee55f1d83ced2e45ce4ac 100644 (file)
@@ -3193,7 +3193,7 @@ bool nft_is_table_compatible(struct nft_handle *h, const char *tablename)
        struct nftnl_rule_list *list;
        struct nftnl_rule_list_iter *iter;
        struct nftnl_rule *rule;
-       int ret = 0, i;
+       int ret = 0;
 
        if (!nft_table_builtin_find(h, tablename))
                return false;