projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cc8f31
)
Eliminate superfluous test.
author
Matt Kraai
<kraai@debian.org>
Wed, 7 Mar 2001 21:45:13 +0000
(21:45 -0000)
committer
Matt Kraai
<kraai@debian.org>
Wed, 7 Mar 2001 21:45:13 +0000
(21:45 -0000)
coreutils/md5sum.c
patch
|
blob
|
history
md5sum.c
patch
|
blob
|
history
diff --git
a/coreutils/md5sum.c
b/coreutils/md5sum.c
index
e4f5207
..
ac34623
100644
(file)
--- 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
e4f5207
..
ac34623
100644
(file)
--- 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;
}