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:
bd4fc30
)
Remove dead keyp & keylen assignments in rpmdbNextIterator()
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 31 May 2011 08:57:45 +0000
(11:57 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 31 May 2011 08:57:45 +0000
(11:57 +0300)
- Both get assigned to their values earlier in the loop and neither
is used beyond this point in the loop .. so these are useless.
lib/rpmdb.c
patch
|
blob
|
history
diff --git
a/lib/rpmdb.c
b/lib/rpmdb.c
index
e168b4f
..
b5c213c
100644
(file)
--- a/
lib/rpmdb.c
+++ b/
lib/rpmdb.c
@@
-1768,8
+1768,6
@@
top:
#endif
rc = dbiCursorGet(mi->mi_dbc, &key, &data, DB_SET);
data.flags = 0;
- keyp = key.data;
- keylen = key.size;
uh = data.data;
uhlen = data.size;
if (rc)