From 23ef6f06c89f1ebc2bc65850b21de69aed8279e3 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 19 Sep 2018 15:16:47 +0200 Subject: 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 Signed-off-by: Florian Westphal --- iptables/nft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3