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:
e9d5e37
)
Eliminate dead assignment, early exit means failure already
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 May 2011 08:05:15 +0000
(11:05 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 27 May 2011 12:08:07 +0000
(15:08 +0300)
build/parseScript.c
patch
|
blob
|
history
diff --git
a/build/parseScript.c
b/build/parseScript.c
index
87b3d58
..
371dc1b
100644
(file)
--- a/
build/parseScript.c
+++ b/
build/parseScript.c
@@
-320,7
+320,7
@@
int parseScript(rpmSpec spec, int parsePart)
index = addTriggerIndex(pkg, file, p, progArgv[0], scriptFlags);
/* Generate the trigger tags */
- if (
(rc = parseRCPOT(spec, pkg, reqargs, reqtag, index, tagflags)
))
+ if (
parseRCPOT(spec, pkg, reqargs, reqtag, index, tagflags
))
goto exit;
} else {
struct rpmtd_s td;