diff --git a/src/core.c b/src/core.c index bed5cf89..74ba7d61 100644 --- a/src/core.c +++ b/src/core.c @@ -14628,7 +14628,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, const MDBX_val *key, MDBX_val *data, } if (mdbx_audit_enabled()) { - int err = mdbx_cursor_check(mc, 0); + err = mdbx_cursor_check(mc, 0); if (unlikely(err != MDBX_SUCCESS)) return err; } @@ -14637,7 +14637,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, const MDBX_val *key, MDBX_val *data, more:; if (mdbx_audit_enabled()) { - int err = mdbx_cursor_check(mc, 0); + err = mdbx_cursor_check(mc, 0); if (unlikely(err != MDBX_SUCCESS)) return err; } @@ -14701,7 +14701,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, const MDBX_val *key, MDBX_val *data, memcpy(page_data(pgr.page), data->iov_base, data->iov_len); if (mdbx_audit_enabled()) { - int err = mdbx_cursor_check(mc, 0); + err = mdbx_cursor_check(mc, 0); if (unlikely(err != MDBX_SUCCESS)) return err; } @@ -14902,7 +14902,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, const MDBX_val *key, MDBX_val *data, } if (mdbx_audit_enabled()) { - int err = mdbx_cursor_check(mc, 0); + err = mdbx_cursor_check(mc, 0); if (unlikely(err != MDBX_SUCCESS)) return err; }