summaryrefslogtreecommitdiff
path: root/build/parseBuildInstallClean.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parseBuildInstallClean.c')
-rw-r--r--build/parseBuildInstallClean.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/parseBuildInstallClean.c b/build/parseBuildInstallClean.c
index 9b3504522..9012f78f1 100644
--- a/build/parseBuildInstallClean.c
+++ b/build/parseBuildInstallClean.c
@@ -15,6 +15,7 @@ int parseBuildInstallClean(Spec spec, rpmParseState parsePart)
StringBuf *sbp = NULL;
const char *name = NULL;
+ /*@-branchstate@*/
if (parsePart == PART_BUILD) {
sbp = &(spec->build);
name = "%build";
@@ -25,6 +26,7 @@ int parseBuildInstallClean(Spec spec, rpmParseState parsePart)
sbp = &(spec->clean);
name = "%clean";
}
+ /*@=branchstate@*/
if (*sbp != NULL) {
rpmError(RPMERR_BADSPEC, _("line %d: second %s\n"),