projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909d3cd
)
Remove pointless xx tmp return code from dbiAppendSet() result
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 20 Apr 2011 12:50:24 +0000
(15:50 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 20 Apr 2011 12:51:04 +0000
(15:51 +0300)
lib/rpmdb.c
patch
|
blob
|
history
diff --git
a/lib/rpmdb.c
b/lib/rpmdb.c
index
7f05998
..
6bb2c66
100644
(file)
--- a/
lib/rpmdb.c
+++ b/
lib/rpmdb.c
@@
-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;