summaryrefslogtreecommitdiffstats
path: root/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
commitfaaa1a642cd7ae131df1098487f01ac74de2b66e (patch)
treeea3926b08c2327aad30ad0f331def9cfc83b4a48 /ebtables.c
parent4653cdbf65682c3b32402d930b815484884f113b (diff)
initialize some variables to get rid of warnings when compiling with optimization
Diffstat (limited to 'ebtables.c')
-rw-r--r--ebtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebtables.c b/ebtables.c
index d5d24b0..62f1ba8 100644
--- a/ebtables.c
+++ b/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;