Revert "MDB_DEBUG tweak for old compilers"

This reverts commit ef2092eac9.
vmware
Howard Chu 12 years ago
parent ef2092eac9
commit b68aa3f86b
  1. 9
      libraries/libmdb/mdb.c

@ -3683,16 +3683,15 @@ static void
mdb_cursor_pop(MDB_cursor *mc)
{
if (mc->mc_snum) {
#if MDB_DEBUG
MDB_page *top = mc->mc_pg[mc->mc_top];
#endif
mc->mc_snum--;
if (mc->mc_snum)
mc->mc_top--;
#if MDB_DEBUG
{
MDB_page *top = mc->mc_pg[mc->mc_top];
DPRINTF("popped page %zu off db %u cursor %p", top->mp_pgno,
mc->mc_dbi, (void *) mc);
}
#endif
}
}

Loading…
Cancel
Save