aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-03-03 21:12:16 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2004-03-03 21:12:16 +0000
commitbbf2ce36d841fe53689516f6e52751e5f59ad393 (patch)
tree09d9e89e6d5effe9b9790d71848627dc83c5e829
parente84152e9e1703402087b6d2776571e291db54e19 (diff)
downloadbusybox-bbf2ce36d841fe53689516f6e52751e5f59ad393.tar.gz
Fix a compile error identiefied by Steven Scholz.
Declare variables first for compatability.
-rw-r--r--debianutils/which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index 1e9d276fd..ccfd16344 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -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.