From 5de909873a6a46286105c087c8c339a0f7259782 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 7 Mar 2001 21:45:13 +0000 Subject: [PATCH] Eliminate superfluous test. --- coreutils/md5sum.c | 2 -- md5sum.c | 2 -- 2 files changed, 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; } -- 2.25.1