diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-02-25 14:42:39 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2019-02-25 14:42:39 +0200 |
commit | 31189a74a96dc6433db2eafa6caf9ba7b26b441a (patch) | |
tree | d521c893cc2eb9c6f883d57e79e9b998a30107ac /build/parsePrep.c | |
parent | ef422951aeb328c3274bc7b355bf8387306590f3 (diff) | |
download | rpm-31189a74a96dc6433db2eafa6caf9ba7b26b441a.tar.gz |
Cleanup another leftover from patch/source autonumbering changes
Somehow missed this in commit d4f63dfe36d5e49402c908ccd32ffaa04852f816,
the extra check is not relevant or even sensible anymore.
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r-- | build/parsePrep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c index 2141cef85..aa1498657 100644 --- a/build/parsePrep.c +++ b/build/parsePrep.c @@ -146,11 +146,7 @@ static char *doUntar(rpmSpec spec, uint32_t c, int quietly) } } if (sp == NULL) { - if (c) { - rpmlog(RPMLOG_ERR, _("No source number %u\n"), c); - } else { - rpmlog(RPMLOG_ERR, _("No \"Source:\" tag in the spec file\n")); - } + rpmlog(RPMLOG_ERR, _("No source number %u\n"), c); goto exit; } |