summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2012-07-04 11:53:54 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2012-07-14 15:53:54 +0200
commit874d7ee3c36ba54220fd204e6aa7cbc731a66395 (patch)
treebd0600df243baa76de46c1a46181fd069a1a546f
parent4df8cb6ab176f3c1f2bf9498d0abde8d9362087b (diff)
libxt_recent: remove unused variable
The info variable is assigned but never read in recent_check(). Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--extensions/libxt_recent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/libxt_recent.c b/extensions/libxt_recent.c
index c7dce4e7..3dcb41dc 100644
--- a/extensions/libxt_recent.c
+++ b/extensions/libxt_recent.c
@@ -131,8 +131,6 @@ static void recent_parse(struct xt_option_call *cb)
static void recent_check(struct xt_fcheck_call *cb)
{
- struct xt_recent_mtinfo *info = cb->data;
-
if (!(cb->xflags & F_ANY_OP))
xtables_error(PARAMETER_PROBLEM,
"recent: you must specify one of `--set', `--rcheck' "