mdbx-load: fix minor false-positive GCC warning.

Change-Id: Ie75c793712d050e8d3da76a4d0a8df9b81dc5275
This commit is contained in:
Leonid Yuriev 2020-10-05 15:09:10 +03:00
parent 70b615e8d4
commit 8d4e7994c0

View File

@ -318,7 +318,7 @@ static int readhdr(void) {
}
for (int i = 0; dbflags[i].bit; i++) {
bool value;
bool value = false;
if (valbool(dbuf.iov_base, dbflags[i].name, &value)) {
if (value)
dbi_flags |= dbflags[i].bit;