summaryrefslogtreecommitdiff
path: root/build.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.c
parent3f462f318fd2f602fddb1a95e5d652e67aafa49e (diff)
downloadlibrpm-tizen-72471f2e54686202a9862a3fd3bd6d0135d81d2a.tar.gz
librpm-tizen-72471f2e54686202a9862a3fd3bd6d0135d81d2a.tar.bz2
librpm-tizen-72471f2e54686202a9862a3fd3bd6d0135d81d2a.zip
Explicit branchstate annotations.
CVS patchset: 5113 CVS date: 2001/10/15 17:53:34
Diffstat (limited to 'build.c')
-rw-r--r--build.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.c b/build.c
index b682c5333..020e172ca 100644
--- a/build.c
+++ b/build.c
@@ -43,12 +43,14 @@ static int checkSpec(Header h)
rc = rpmtransAddPackage(ts, h, NULL, NULL, 0, NULL);
rc = rpmdepCheck(ts, &conflicts, &numConflicts);
+ /*@-branchstate@*/
if (rc == 0 && conflicts) {
rpmMessage(RPMMESS_ERROR, _("failed build dependencies:\n"));
printDepProblems(stderr, conflicts, numConflicts);
conflicts = rpmdepFreeConflicts(conflicts, numConflicts);
rc = 1;
}
+ /*@=branchstate@*/
ts = rpmtransFree(ts);
if (db != NULL)
@@ -122,8 +124,10 @@ static int buildForTarget(const char * arg, BTA_t ba,
rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS);
#endif
+ /*@-branchstate@*/
if (ba->buildRootOverride)
buildRootURL = rpmGenPath(NULL, ba->buildRootOverride, NULL);
+ /*@=branchstate@*/
if (ba->buildMode == 't') {
FILE *fp;