From b0ba0185763ad2bae3335423221919ed47951885 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 10 Jun 2016 13:42:04 +0200 Subject: [PATCH] tc: m_xt: Drop unused variable fw in parse_ipt() Signed-off-by: Phil Sutter --- tc/m_xt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tc/m_xt.c b/tc/m_xt.c index b3731086..c42f3bda 100644 --- a/tc/m_xt.c +++ b/tc/m_xt.c @@ -120,7 +120,6 @@ static int parse_ipt(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n) { struct xtables_target *m = NULL; - struct ipt_entry fw; struct rtattr *tail; int c; @@ -189,7 +188,6 @@ static int parse_ipt(struct action_util *a, int *argc_p, break; default: - memset(&fw, 0, sizeof(fw)); #if (XTABLES_VERSION_CODE >= 6) if (m != NULL && m->x6_parse != NULL) { xtables_option_tpcall(c, argv, 0, m, NULL); -- 2.39.5