summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/ebtables.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2011-08-11 18:23:13 +0000
committerBart De Schuymer <bdschuym@pandora.be>2011-08-11 18:23:13 +0000
commit920ab8c98a4d81d97171d28be77e40373e3d9d61 (patch)
treee751bfd20a0d68abf11b5c99abcde27d6c3a7cb6 /userspace/ebtables2/ebtables.c
parent67c0245d54e8803a699d399b7b2691c70f2ff7d8 (diff)
initialize some variables to get rid of warnings when compiling with optimization
Diffstat (limited to 'userspace/ebtables2/ebtables.c')
-rw-r--r--userspace/ebtables2/ebtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/ebtables.c b/userspace/ebtables2/ebtables.c
index d5d24b0..62f1ba8 100644
--- a/userspace/ebtables2/ebtables.c
+++ b/userspace/ebtables2/ebtables.c
@@ -541,7 +541,7 @@ int do_command(int argc, char *argv[], int exec_style,
char *buffer;
int c, i;
int zerochain = -1; /* Needed for the -Z option (we can have -Z <this> -L <that>) */
- int chcounter; /* Needed for -C */
+ int chcounter = 0; /* Needed for -C */
int policy = 0;
int rule_nr = 0;
int rule_nr_end = 0;