From 17c805768431e1620087eb1185bd23554583dc04 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sun, 28 May 2017 13:07:29 +0300 Subject: [PATCH] mdbx: fix gcc 'uninitialized' warning with -Og. --- src/mdbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdbx.c b/src/mdbx.c index 4042969e..8684a12d 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -5856,7 +5856,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, MDBX_val *key, MDBX_val *data, int do_sub = 0, insert_key, insert_data; unsigned mcount = 0, dcount = 0, nospill; size_t nsize; - int rc, rc2; + int rc = MDBX_SUCCESS, rc2; unsigned nflags; DKBUF;