diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2011-08-11 18:23:13 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2011-08-11 18:23:13 +0000 |
commit | faaa1a642cd7ae131df1098487f01ac74de2b66e (patch) | |
tree | ea3926b08c2327aad30ad0f331def9cfc83b4a48 /ebtables.c | |
parent | 4653cdbf65682c3b32402d930b815484884f113b (diff) | |
download | ebtables-faaa1a642cd7ae131df1098487f01ac74de2b66e.tar.gz |
initialize some variables to get rid of warnings when compiling with optimization
Diffstat (limited to 'ebtables.c')
-rw-r--r-- | ebtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |