Remove pointless xx tmp return code from dbiAppendSet() result
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 20 Apr 2011 12:50:24 +0000 (15:50 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 20 Apr 2011 12:51:04 +0000 (15:51 +0300)
lib/rpmdb.c

index 7f05998..6bb2c66 100644 (file)
@@ -839,7 +839,6 @@ static int rpmdbFindByFile(rpmdb db, const char * filespec,
     rpmDbiTag dbtag = RPMDBI_BASENAMES;
     unsigned int i;
     int rc = -2; /* assume error */
-    int xx;
 
     *matches = NULL;
     if (filespec == NULL) return rc; /* nothing alloced yet */
@@ -916,7 +915,7 @@ static int rpmdbFindByFile(rpmdb db, const char * filespec,
                    .hdrNum = dbiIndexRecordOffset(allMatches, i),
                    .tagNum = dbiIndexRecordFileNumber(allMatches, i),
                };
-               xx = dbiAppendSet(*matches, &rec, 1, sizeof(rec), 0);
+               dbiAppendSet(*matches, &rec, 1, sizeof(rec), 0);
            }
 
            prevoff = offset;