]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
tc: m_xt: Drop unused variable fw in parse_ipt()
authorPhil Sutter <phil@nwl.cc>
Fri, 10 Jun 2016 11:42:04 +0000 (13:42 +0200)
committerStephen Hemminger <shemming@brocade.com>
Tue, 14 Jun 2016 21:35:56 +0000 (14:35 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
tc/m_xt.c

index b3731086c717bdeca7c55dba222e5455991d36f7..c42f3bda4e8f4ea72bb3f8e29730d6d64dbd4b8e 100644 (file)
--- 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);