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:
parent
b29749721a
commit
359ccc0fed
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user