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
d7a32e24af
commit
1fd3fc6988
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189396
@ -104,6 +104,7 @@ ipfw_main(int oldac, char **oldav)
|
|||||||
const char *errstr;
|
const char *errstr;
|
||||||
char **av, **save_av;
|
char **av, **save_av;
|
||||||
int do_acct = 0; /* Show packet/byte count */
|
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"
|
#define WHITESP " \t\f\v\n\r"
|
||||||
if (oldac < 2)
|
if (oldac < 2)
|
||||||
@ -332,7 +333,6 @@ ipfw_main(int oldac, char **oldav)
|
|||||||
av[1] = p;
|
av[1] = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
int try_next = 0;
|
|
||||||
if (co.use_set == 0) {
|
if (co.use_set == 0) {
|
||||||
if (_substrcmp(*av, "add") == 0)
|
if (_substrcmp(*av, "add") == 0)
|
||||||
ipfw_add(ac, av);
|
ipfw_add(ac, av);
|
||||||
|
Loading…
Reference in New Issue
Block a user