in ndb.c, remove some unused variables