Remove couple of leftover, unused local variables
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 19 Dec 2008 14:19:32 +0000 (16:19 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 19 Dec 2008 14:19:32 +0000 (16:19 +0200)
- one more fi-> access still lurking...

lib/transaction.c

index 16e9bc4..edc862b 100644 (file)
@@ -206,9 +206,6 @@ static void handleOverlappedFiles(const rpmts ts, const rpmte p, rpmfi fi)
        otherFs = NULL;
 
        for (otherPkgNum = j - 1; otherPkgNum >= 0; otherPkgNum--) {
-           struct fingerPrint_s * otherFps;
-           int otherFc;
-
            otherTe = recs[otherPkgNum].p;
            otherFi = rpmteFI(otherTe);
            otherFileNum = recs[otherPkgNum].fileno;
@@ -218,9 +215,6 @@ static void handleOverlappedFiles(const rpmts ts, const rpmte p, rpmfi fi)
            if (rpmteType(p) == TR_ADDED && rpmteType(otherTe) != TR_ADDED)
                continue;
 
-           otherFps = otherFi->fps;
-           otherFc = rpmfiFC(otherFi);
-
            (void) rpmfiSetFX(otherFi, otherFileNum);
 
            /* XXX Happens iff fingerprint for incomplete package install. */