summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2019-02-25 14:42:39 +0200
committerPanu Matilainen <pmatilai@redhat.com>2019-02-25 14:42:39 +0200
commit31189a74a96dc6433db2eafa6caf9ba7b26b441a (patch)
treed521c893cc2eb9c6f883d57e79e9b998a30107ac /build/parsePrep.c
parentef422951aeb328c3274bc7b355bf8387306590f3 (diff)
downloadrpm-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.c6
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;
}