From 06aa596519e8193406d69d7f07c850938e8eb797 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 17 Jun 2021 21:41:24 +0300 Subject: [PATCH] mdbx-test: fix minor warnings from old GCC versions. --- test/test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.cc b/test/test.cc index 42d46f9b..6852f420 100644 --- a/test/test.cc +++ b/test/test.cc @@ -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)) {