mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:54:14 +08:00
mdbx-load: fix minor false-positive GCC warning.
Change-Id: Ie75c793712d050e8d3da76a4d0a8df9b81dc5275
This commit is contained in:
parent
70b615e8d4
commit
8d4e7994c0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user