mdbx: cleanup formating (cosmetic).

Change-Id: I4a502fa8e43b9556318628bef05447567e5a98be
This commit is contained in:
Leo Yuriev 2018-06-21 17:28:42 +03:00
parent 40ec114048
commit 9b39b959de

View File

@ -144,8 +144,8 @@ int mdbx_txn_lock(MDBX_env *env, bool dontwait) {
}
void mdbx_txn_unlock(MDBX_env *env) {
int rc = (env->me_flags & MDBX_EXCLUSIVE) ? TRUE
: funlock(env->me_fd, LCK_BODY);
int rc =
(env->me_flags & MDBX_EXCLUSIVE) ? TRUE : funlock(env->me_fd, LCK_BODY);
LeaveCriticalSection(&env->me_windowsbug_lock);
if (!rc)
mdbx_panic("%s failed: errcode %u", mdbx_func_, GetLastError());