summaryrefslogtreecommitdiff
path: root/lib/fprint.c
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2008-10-27 13:08:39 +0100
committerFlorian Festi <ffesti@redhat.com>2008-10-27 13:08:39 +0100
commit5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709 (patch)
tree86f85ab3c118c5a2b9b4d0e8cbdc54f9bf17a5a1 /lib/fprint.c
parentf4b5bd55db623f83d75d0d60432f48cf0a7d2ef5 (diff)
downloadrpm-5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709.tar.gz
rpm-5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709.tar.bz2
rpm-5d7cd0ab2d814e5d2a0803bede9c2d0bb09f2709.zip
fix compiler warning
by removing unnesseccary return address for the hash key
Diffstat (limited to 'lib/fprint.c')
-rw-r--r--lib/fprint.c3
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, &current_fp,
- &recs, &numRecs, &tmp_fp);
+ &recs, &numRecs, NULL);
for (i=0; i<numRecs; i++) {
rpmfi foundfi;