Remove pointless xx tmp return code from dbiAppendSet() result

This commit is contained in:
Panu Matilainen 2011-04-20 15:50:24 +03:00
parent 909d3cdc92
commit 70ca20161b
1 changed files with 1 additions and 2 deletions

View 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;