From ffa0c402f7bc2443bc73be1e5db95f468b18e39e Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 19 Mar 2010 09:49:45 +0200 Subject: Lose unused/useless variable --- lib/depends.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3