mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-01 23:34:13 +08:00
mdbx-test: fix minor warnings from old GCC versions.
This commit is contained in:
parent
d47864dedf
commit
06aa596519
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user