1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

hash: Suppress GCC 7.3 and MINGW maybe-uninitialized warning

This commit is contained in:
makise-homura 2024-08-14 23:22:59 +03:00
parent 103aadbc66
commit f59da1a364

2
hash.c
View File

@ -427,7 +427,7 @@ xmlHashUpdateInternal(xmlHashTablePtr hash, const xmlChar *key,
void *payload, xmlHashDeallocator dealloc, int update) {
xmlChar *copy, *copy2, *copy3;
xmlHashEntry *entry = NULL;
size_t lengths[3];
size_t lengths[3] = {0, 0, 0};
unsigned hashValue;
int found = 0;