I messed up some minor style/indentation, ignore all calls to cursor->close

(that's not correct, but it will do for now).
This commit is contained in:
Keith Bostic 2012-02-17 09:07:25 -05:00
parent 7e6d947765
commit 3323cf5844

View file

@ -351,7 +351,7 @@ static ERL_NIF_TERM wterl_session_delete(ErlNifEnv* env, int argc, const ERL_NIF
raw_key.size = key.size; raw_key.size = key.size;
cursor->set_key(cursor, &raw_key); cursor->set_key(cursor, &raw_key);
rc = cursor->remove(cursor); rc = cursor->remove(cursor);
cursor->close(cursor); (void)cursor->close(cursor);
if (rc != 0) if (rc != 0)
{ {
return wterl_strerror(env, rc); return wterl_strerror(env, rc);