summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-05-31 11:57:45 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-05-31 11:57:45 +0300
commit59b934f425e651dc546530bd167dc1f50e3e9347 (patch)
tree12dff0ba6e906081fbce5a4ff8f0bb223a112e9f /lib/rpmdb.c
parentbd4fc3088451b9aec63bfd75478ceb43ae80de59 (diff)
downloadlibrpm-tizen-59b934f425e651dc546530bd167dc1f50e3e9347.tar.gz
librpm-tizen-59b934f425e651dc546530bd167dc1f50e3e9347.tar.bz2
librpm-tizen-59b934f425e651dc546530bd167dc1f50e3e9347.zip
Remove dead keyp & keylen assignments in rpmdbNextIterator()
- Both get assigned to their values earlier in the loop and neither is used beyond this point in the loop .. so these are useless.
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r--lib/rpmdb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index e168b4fa9..b5c213c75 100644
--- 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)