From e510005b1a940dd73ddd385cce471aaeea507ab2 Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 10 Sep 2004 13:42:24 +0000 Subject: [PATCH] o Initialize a local variable and make gcc happy. PR: bin/71485 Submitted by: Jukka A. Ukkonen --- sbin/ipfw/ipfw2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 37e3ec377130..c7ccfd5bd9c1 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -1734,6 +1734,8 @@ list(int ac, char *av[], int show_counters) const int ocmd = do_pipe ? IP_DUMMYNET_GET : IP_FW_GET; int nalloc = 1024; /* start somewhere... */ + last = 0; + if (test_only) { fprintf(stderr, "Testing only, list disabled\n"); return;