From 1fd3fc69880f7f0636d82816ae285e2343664ee0 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Thu, 5 Mar 2009 08:08:09 +0000 Subject: [PATCH] move a variable declaration to the beginning of the block (unfortunately, it is far away; we need to pack this code in a better way). --- sbin/ipfw/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ipfw/main.c b/sbin/ipfw/main.c index 5cb5a4202e35..a83dd5fe17cc 100644 --- a/sbin/ipfw/main.c +++ b/sbin/ipfw/main.c @@ -104,6 +104,7 @@ ipfw_main(int oldac, char **oldav) const char *errstr; char **av, **save_av; int do_acct = 0; /* Show packet/byte count */ + int try_next = 0; /* set if pipe cmd not found */ #define WHITESP " \t\f\v\n\r" if (oldac < 2) @@ -332,7 +333,6 @@ ipfw_main(int oldac, char **oldav) av[1] = p; } - int try_next = 0; if (co.use_set == 0) { if (_substrcmp(*av, "add") == 0) ipfw_add(ac, av);