Drop spurious Errcode() call

mdb.RE/0.9
Hallvard Furuseth 8 years ago
parent 9036e261c4
commit bffe2ebcba
  1. 2
      libraries/liblmdb/mdb.c

@ -4523,7 +4523,7 @@ mdb_env_setup_locks(MDB_env *env, char *lpath, int mode, int *excl)
if (rc == MDB_ERRCODE_ROFS && (env->me_flags & MDB_RDONLY)) { if (rc == MDB_ERRCODE_ROFS && (env->me_flags & MDB_RDONLY)) {
return MDB_SUCCESS; return MDB_SUCCESS;
} }
goto fail_errno; goto fail;
} }
#if ! ((MDB_CLOEXEC) || defined(_WIN32)) #if ! ((MDB_CLOEXEC) || defined(_WIN32))
/* Lose record locks when exec*() */ /* Lose record locks when exec*() */

Loading…
Cancel
Save