diff options
author | Florian Festi <ffesti@redhat.com> | 2008-10-27 13:08:39 +0100 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2008-10-27 13:08:39 +0100 |
commit | 5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709 (patch) | |
tree | 86f85ab3c118c5a2b9b4d0e8cbdc54f9bf17a5a1 | |
parent | f4b5bd55db623f83d75d0d60432f48cf0a7d2ef5 (diff) | |
download | rpm-5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709.tar.gz rpm-5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709.tar.bz2 rpm-5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709.zip |
fix compiler warning
by removing unnesseccary return address for the hash key
-rw-r--r-- | lib/fprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fprint.c b/lib/fprint.c index 68057658d..418f61cb3 100644 --- a/lib/fprint.c +++ b/lib/fprint.c @@ -248,7 +248,6 @@ void fpLookupSubdir(rpmFpHash ht, rpmFpHash newht, fingerPrintCache fpc, rpmfi f char *end, *endbasename, *currentsubdir; size_t lensubDir; - fingerPrint tmp_fp; struct rpmffi_s * recs; int numRecs; int i, fiFX; @@ -280,7 +279,7 @@ void fpLookupSubdir(rpmFpHash ht, rpmFpHash newht, fingerPrintCache fpc, rpmfi f found = 0; rpmFpHashGetEntry(ht, ¤t_fp, - &recs, &numRecs, &tmp_fp); + &recs, &numRecs, NULL); for (i=0; i<numRecs; i++) { rpmfi foundfi; |