summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-19 09:49:45 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-19 09:49:45 +0200
commitffa0c402f7bc2443bc73be1e5db95f468b18e39e (patch)
treef2a25107b1841a0554fb49a651a495a462c5c728
parente43d419303403433ad5fadb9ad0d5844d8fa8d91 (diff)
downloadlibrpm-tizen-ffa0c402f7bc2443bc73be1e5db95f468b18e39e.tar.gz
librpm-tizen-ffa0c402f7bc2443bc73be1e5db95f468b18e39e.tar.bz2
librpm-tizen-ffa0c402f7bc2443bc73be1e5db95f468b18e39e.zip
Lose unused/useless variable
-rw-r--r--lib/depends.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/depends.c b/lib/depends.c
index 4fa429412..d3fbe51b1 100644
--- a/lib/depends.c
+++ b/lib/depends.c
@@ -127,7 +127,6 @@ int rpmtsAddInstallElement(rpmts ts, Header h,
rpmtsi pi = NULL; rpmte p;
rpmds oldChk = NULL, newChk = NULL, sameChk = NULL;
rpmds obsoletes;
- int xx;
int ec = 0;
int rc;
int oc;
@@ -284,7 +283,7 @@ addheader:
if (rpmVersionCompare(h, oh) == 0)
continue;
- xx = removePackage(tsmem, oh, p);
+ removePackage(tsmem, oh, p);
}
mi = rpmdbFreeIterator(mi);