mdbx-test: fix minor warnings from old GCC versions.

This commit is contained in:
Leonid Yuriev 2021-06-17 21:41:24 +03:00
parent d47864dedf
commit 06aa596519

View File

@ -714,8 +714,8 @@ void testcase::speculum_check_cursor(const char *where, const char *stage,
const testcase::SET::const_iterator &it,
MDBX_cursor *cursor,
const MDBX_cursor_op op) const {
MDBX_val cursor_key = {};
MDBX_val cursor_data = {};
MDBX_val cursor_key = {0, 0};
MDBX_val cursor_data = {0, 0};
int err;
if (it != speculum.end() && std::next(it) == speculum.end() &&
op == MDBX_PREV && (config.params.table_flags & MDBX_DUPSORT)) {