glib/tests: Fix variable maybe uninitialized warning

This commit is contained in:
Pablo Correa Gómez 2022-01-18 16:34:41 +01:00
parent d4cbe9ce4e
commit c2ff12ced5
No known key found for this signature in database
GPG Key ID: 7A342565FF635F79

View File

@ -76,7 +76,7 @@ test_search (gconstpointer d)
for (i = 0; tests[i].string != NULL; i++)
{
gboolean match;
gboolean ok;
gboolean ok = FALSE;
gboolean skipped;
if (setlocale (LC_ALL, tests[i].locale))