From b3f22197c74bbf6e4564ef5cc59d0d5a22f4c6c6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 6 Mar 2003 11:56:31 +0000 Subject: make gcc happy --- iptables-restore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iptables-restore.c') diff --git a/iptables-restore.c b/iptables-restore.c index 8e193899..74f7db33 100644 --- a/iptables-restore.c +++ b/iptables-restore.c @@ -4,7 +4,7 @@ * * This code is distributed under the terms of GNU GPL v2 * - * $Id: iptables-restore.c,v 1.23 2003/03/03 08:05:07 laforge Exp $ + * $Id: iptables-restore.c,v 1.24 2003/03/03 08:08:37 laforge Exp $ */ #include @@ -155,7 +155,7 @@ int main(int argc, char *argv[]) /* Grab standard input. */ while (fgets(buffer, sizeof(buffer), in)) { - int ret; + int ret = 0; line++; if (buffer[0] == '\n') continue; @@ -166,7 +166,7 @@ int main(int argc, char *argv[]) DEBUGP("Calling commit\n"); ret = iptc_commit(&handle); in_table = 0; - } else if ((buffer[0] == '*') && (!in_table)){ + } else if ((buffer[0] == '*') && (!in_table)) { /* New table */ char *table; -- cgit v1.2.3