Author: luigi Date: Thu Mar 5 08:08:09 2009 New Revision: 189396 URL: http://svn.freebsd.org/changeset/base/189396
Log: 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). Modified: head/sbin/ipfw/main.c Modified: head/sbin/ipfw/main.c ============================================================================== --- head/sbin/ipfw/main.c Thu Mar 5 08:01:58 2009 (r189395) +++ head/sbin/ipfw/main.c Thu Mar 5 08:08:09 2009 (r189396) @@ -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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"