netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libxt_recent: remove unused variable
@ 2012-07-04 21:53 Eldad Zack
  2012-07-14 13:55 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Eldad Zack @ 2012-07-04 21:53 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Eldad Zack

The info variable is assigned but never read in recent_check().

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
---
 extensions/libxt_recent.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/extensions/libxt_recent.c b/extensions/libxt_recent.c
index c7dce4e..3dcb41d 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' "
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libxt_recent: remove unused variable
  2012-07-04 21:53 [PATCH] libxt_recent: remove unused variable Eldad Zack
@ 2012-07-14 13:55 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2012-07-14 13:55 UTC (permalink / raw)
  To: Eldad Zack; +Cc: netfilter-devel

On Wed, Jul 04, 2012 at 11:53:54PM +0200, Eldad Zack wrote:
> The info variable is assigned but never read in recent_check().

Applied, thanks Eldad.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-14 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 21:53 [PATCH] libxt_recent: remove unused variable Eldad Zack
2012-07-14 13:55 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).