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).
This commit is contained in:
luigi 2009-03-05 08:08:09 +00:00
parent b29749721a
commit 359ccc0fed

View File

@ -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);