]> git.sur5r.net Git - openldap/commitdiff
ITS#8321 cleanup unused var
authorHoward Chu <hyc@openldap.org>
Tue, 24 Nov 2015 20:21:51 +0000 (20:21 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 24 Nov 2015 20:22:46 +0000 (20:22 +0000)
from da67af1a4bf1a6d3f5d173d9daf74bb4ec66175a

libraries/liblmdb/mdb.c

index b87099e487f48f9b33155fc2167b7095dfae270b..96c859efd9bdd98250bfd2ab633fe52ae394fa71 100644 (file)
@@ -6689,7 +6689,6 @@ new_sub:
                        MDB_dbi dbi = mc->mc_dbi;
                        unsigned i = mc->mc_top;
                        MDB_page *mp = mc->mc_pg[i];
-                       int nkeys = NUMKEYS(mp);
 
                        for (m2 = mc->mc_txn->mt_cursors[dbi]; m2; m2=m2->mc_next) {
                                if (mc->mc_flags & C_SUB)