projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b46014
)
Remove leftover trap for RPMRC_FAIL errors where none should be seen
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 28 Sep 2010 19:35:10 +0000
(22:35 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 28 Sep 2010 19:35:10 +0000
(22:35 +0300)
- Been 2.5 years now without seeing that trap trigger, should be safe
to remove now ... to silence a warning about comparing to non-existent
enumeration value.
build/parseSpec.c
patch
|
blob
|
history
diff --git
a/build/parseSpec.c
b/build/parseSpec.c
index
98aa3fa
..
fd81bfa
100644
(file)
--- a/
build/parseSpec.c
+++ b/
build/parseSpec.c
@@
-547,10
+547,6
@@
static rpmSpec parseSpec(const char *specFile, rpmSpecFlags flags,
while (parsePart != PART_NONE) {
int goterror = 0;
switch (parsePart) {
- /* XXX Trap unexpected RPMRC_FAIL returns for now */
- case RPMRC_FAIL:
- rpmlog(RPMLOG_ERR, "FIXME: got RPMRC_FAIL from spec parse\n");
- abort();
case PART_ERROR: /* fallthrough */
default:
goterror = 1;