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:
parent
7e6d947765
commit
3323cf5844
1 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue