diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-03-30 00:57:02 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-04-06 18:21:13 +0200 |
commit | 2963a8df2175be68af6cafce83a8561aa4cf6244 (patch) | |
tree | 3ee81668e8a845a41a1ddc2a22dda5109a95e123 /iptables/iptables-restore.c | |
parent | 1cf4ba6fbe85b3cbe9828a7947000290e1989986 (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/iptables-restore.c')
-rw-r--r-- | iptables/iptables-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/iptables-restore.c b/iptables/iptables-restore.c index 7bb06d84..15db3581 100644 --- a/iptables/iptables-restore.c +++ b/iptables/iptables-restore.c @@ -23,7 +23,7 @@ #define DEBUGP(x, args...) #endif -static int counters = 0, verbose = 0, noflush = 0, wait = 0; +static int counters, verbose, noflush, wait; static struct timeval wait_interval = { .tv_sec = 1, |