Eliminate dead assignment, early exit means failure already
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 27 May 2011 08:05:15 +0000 (11:05 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 27 May 2011 12:08:07 +0000 (15:08 +0300)
build/parseScript.c

index 87b3d58..371dc1b 100644 (file)
@@ -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;