summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
authorVarsha Rao <rvarsha016@gmail.com>2017-03-30 00:57:02 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2017-04-06 18:21:13 +0200
commit2963a8df2175be68af6cafce83a8561aa4cf6244 (patch)
tree3ee81668e8a845a41a1ddc2a22dda5109a95e123 /iptables/xtables-restore.c
parent1cf4ba6fbe85b3cbe9828a7947000290e1989986 (diff)
iptables: Remove explicit static variables initalization.
Static variables are initialized to zero by default, so remove explicit initalization. This patch fixes the checkpatch issue. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-restore.c')
-rw-r--r--iptables/xtables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c
index a551c8c1..6afa0d0e 100644
--- a/iptables/xtables-restore.c
+++ b/iptables/xtables-restore.c
@@ -24,7 +24,7 @@
#define DEBUGP(x, args...)
#endif
-static int counters = 0, verbose = 0, noflush = 0;
+static int counters, verbose, noflush;
/* Keeping track of external matches and targets. */
static const struct option options[] = {