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 Rizzo 2009-03-05 08:08:09 +00:00
parent d7a32e24af
commit 1fd3fc6988
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189396

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