]> 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:21:51 +0000 (20:21 +0000)
from da67af1a4bf1a6d3f5d173d9daf74bb4ec66175a

libraries/liblmdb/mdb.c

index 4844b0d7f9f628b8212f459cdffe40b67548b220..f712115709328b8fcf8975a0c235fae47c94dc1f 100644 (file)
@@ -6810,7 +6810,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)