Commit a3da01c5 authored by Thomas Jarosch's avatar Thomas Jarosch Committed by Stephen Hemminger

tc: Remove unused variable 'res'.

Detected by cppcheck.
Signed-off-by: default avatarThomas Jarosch <thomas.jarosch@intra2net.com>
parent 9044a454
......@@ -396,11 +396,9 @@ static int parse_ipt(struct action_util *a,int *argc_p,
char **argv = *argv_p;
int argc = 0, iargc = 0;
char k[16];
int res = -1;
int size = 0;
int iok = 0, ok = 0;
__u32 hook = 0, index = 0;
res = 0;
lib_dir = getenv("IPTABLES_LIB_DIR");
if (!lib_dir)
......
......@@ -215,11 +215,9 @@ static int parse_ipt(struct action_util *a,int *argc_p,
char **argv = *argv_p;
int argc = 0, iargc = 0;
char k[16];
int res = -1;
int size = 0;
int iok = 0, ok = 0;
__u32 hook = 0, index = 0;
res = 0;
set_lib_dir();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment