summaryrefslogtreecommitdiff
path: root/debianutils/which.c
diff options
context:
space:
mode:
authorGlenn L McGrath2004-03-03 21:12:16 +0000
committerGlenn L McGrath2004-03-03 21:12:16 +0000
commitbbf2ce36d841fe53689516f6e52751e5f59ad393 (patch)
tree09d9e89e6d5effe9b9790d71848627dc83c5e829 /debianutils/which.c
parente84152e9e1703402087b6d2776571e291db54e19 (diff)
downloadbusybox-bbf2ce36d841fe53689516f6e52751e5f59ad393.zip
busybox-bbf2ce36d841fe53689516f6e52751e5f59ad393.tar.gz
Fix a compile error identiefied by Steven Scholz.
Declare variables first for compatability.
Diffstat (limited to 'debianutils/which.c')
-rw-r--r--debianutils/which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index 1e9d276..ccfd163 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.