From 59b934f425e651dc546530bd167dc1f50e3e9347 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 31 May 2011 11:57:45 +0300 Subject: [PATCH] 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. --- lib/rpmdb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/rpmdb.c b/lib/rpmdb.c index e168b4f..b5c213c 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) -- 2.7.4