mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:14:12 +08:00
mdbx: fix coverity warning (minor).
Change-Id: Iaa4f8d6611139a9c500b3d803c7fe1fbcc8591e1
This commit is contained in:
parent
ace062f4a7
commit
928014c88a
@ -37,7 +37,7 @@ int main(int argc, char *argv[]) {
|
||||
rc = mdbx_env_create(&env);
|
||||
if (rc != MDBX_SUCCESS) {
|
||||
fprintf(stderr, "mdbx_env_create: (%d) %s\n", rc, mdbx_strerror(rc));
|
||||
return 0;
|
||||
goto bailout;
|
||||
}
|
||||
rc = mdbx_env_open(env, "./example-db",
|
||||
MDBX_NOSUBDIR | MDBX_COALESCE | MDBX_LIFORECLAIM, 0664);
|
||||
|
Loading…
x
Reference in New Issue
Block a user