Fix a compile error identiefied by Steven Scholz.
authorGlenn L McGrath <bug1@ihug.co.nz>
Wed, 3 Mar 2004 21:12:16 +0000 (21:12 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Wed, 3 Mar 2004 21:12:16 +0000 (21:12 -0000)
Declare variables first for compatability.

debianutils/which.c

index 1e9d276fd831f28db18af64dd38793663fdf107c..ccfd163445469ed077b5b802b02d7cc830673d8d 100644 (file)
@@ -56,8 +56,8 @@ extern int which_main(int argc, char **argv)
        while (argc-- > 0) { 
                char *buf;
                char *path_n;
-               argv++;
                char found = 0;
+               argv++;
 
                /*
                 * Check if we were given the full path, first.