Merge branch 'fix-uninitialized-use' into 'master'

timezone: Fix an uninitialized use

See merge request GNOME/glib!1601
This commit is contained in:
Matthias Clasen 2020-08-02 02:18:19 +00:00
commit 5b3da6ea34

View File

@ -831,6 +831,8 @@ rules_from_windows_time_zone (const gchar *identifier,
WCHAR winsyspath[MAX_PATH];
gunichar2 *subkey_w, *subkey_dynamic_w;
subkey_dynamic_w = NULL;
if (GetSystemDirectoryW (winsyspath, MAX_PATH) == 0)
return 0;