aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-03-07 21:45:13 +0000
committerMatt Kraai <kraai@debian.org>2001-03-07 21:45:13 +0000
commit5de909873a6a46286105c087c8c339a0f7259782 (patch)
treea1c4e05a716f80723ecc0349435b58d69a3f2bee
parent4cc8f31ffea183ce10111e543f3d50a702c31760 (diff)
downloadbusybox-5de909873a6a46286105c087c8c339a0f7259782.tar.gz
Eliminate superfluous test.
-rw-r--r--coreutils/md5sum.c2
-rw-r--r--md5sum.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index e4f52075d..ac3462334 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -819,8 +819,6 @@ int md5sum_main(int argc,
if (string == NULL)
string = (char **) xmalloc ((argc - 1) * sizeof (char *));
- if (optarg == NULL)
- optarg = "";
string[n_strings++] = optarg;
break;
}
diff --git a/md5sum.c b/md5sum.c
index e4f52075d..ac3462334 100644
--- a/md5sum.c
+++ b/md5sum.c
@@ -819,8 +819,6 @@ int md5sum_main(int argc,
if (string == NULL)
string = (char **) xmalloc ((argc - 1) * sizeof (char *));
- if (optarg == NULL)
- optarg = "";
string[n_strings++] = optarg;
break;
}