summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-07-10 20:08:09 +0000
committerEric Andersen2000-07-10 20:08:09 +0000
commita0053735dc102e8f876005627bc09be2446e48c0 (patch)
treebdf17c38b145744416ae5e62e32928e4930e0cee
parent3849f9bfcc609380c9225ee04cf84520b02e92b3 (diff)
downloadbusybox-a0053735dc102e8f876005627bc09be2446e48c0.zip
busybox-a0053735dc102e8f876005627bc09be2446e48c0.tar.gz
Remove unused variable.
-Erik
-rw-r--r--basename.c2
-rw-r--r--coreutils/basename.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/basename.c b/basename.c
index fa15aa9..5678c44 100644
--- a/basename.c
+++ b/basename.c
@@ -35,7 +35,7 @@ const char *basename_usage="basename FILE [SUFFIX]\n"
extern int basename_main(int argc, char **argv)
{
int m, n;
- char *s, *s1;
+ char *s;
if ((argc < 2) || (**(argv + 1) == '-')) {
usage(basename_usage);
diff --git a/coreutils/basename.c b/coreutils/basename.c
index fa15aa9..5678c44 100644
--- a/coreutils/basename.c
+++ b/coreutils/basename.c
@@ -35,7 +35,7 @@ const char *basename_usage="basename FILE [SUFFIX]\n"
extern int basename_main(int argc, char **argv)
{
int m, n;
- char *s, *s1;
+ char *s;
if ((argc < 2) || (**(argv + 1) == '-')) {
usage(basename_usage);