Drop spurious Errcode() call

ntdll
Hallvard Furuseth 8 years ago
parent cdcf9da600
commit 3dd2d207d7
  1. 2
      libraries/liblmdb/mdb.c

@ -4846,7 +4846,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