summaryrefslogtreecommitdiff
path: root/build/parseBuildInstallClean.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-10-15 17:53:34 +0000
committerjbj <devnull@localhost>2001-10-15 17:53:34 +0000
commit72471f2e54686202a9862a3fd3bd6d0135d81d2a (patch)
tree3625a73d9ef73f4f29df80fe98fb6133041cb4bc /build/parseBuildInstallClean.c
parent3f462f318fd2f602fddb1a95e5d652e67aafa49e (diff)
downloadrpm-72471f2e54686202a9862a3fd3bd6d0135d81d2a.tar.gz
rpm-72471f2e54686202a9862a3fd3bd6d0135d81d2a.tar.bz2
rpm-72471f2e54686202a9862a3fd3bd6d0135d81d2a.zip
Explicit branchstate annotations.
CVS patchset: 5113 CVS date: 2001/10/15 17:53:34
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"),