summaryrefslogtreecommitdiffstats
path: root/iptables/nft.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-19 15:16:47 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-24 11:23:55 +0200
commit23ef6f06c89f1ebc2bc65850b21de69aed8279e3 (patch)
treea940fbec7d06364e6e8161da8eacbf184daa4ba4 /iptables/nft.c
parent4e499d53d558bed55c8fe74390250dbfd6da3efc (diff)
xtables: Remove unused variable in nft_is_table_compatible()
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>
Diffstat (limited to 'iptables/nft.c')
-rw-r--r--iptables/nft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft.c b/iptables/nft.c
index c67718c8..032c3788 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -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;