Commit 5b3da6ea authored by Matthias Clasen's avatar Matthias Clasen

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

timezone: Fix an uninitialized use

See merge request !1601
parents 7ce6a01f 09929782
Pipeline #200919 passed with stages
in 12 minutes and 45 seconds
...@@ -831,6 +831,8 @@ rules_from_windows_time_zone (const gchar *identifier, ...@@ -831,6 +831,8 @@ rules_from_windows_time_zone (const gchar *identifier,
WCHAR winsyspath[MAX_PATH]; WCHAR winsyspath[MAX_PATH];
gunichar2 *subkey_w, *subkey_dynamic_w; gunichar2 *subkey_w, *subkey_dynamic_w;
subkey_dynamic_w = NULL;
if (GetSystemDirectoryW (winsyspath, MAX_PATH) == 0) if (GetSystemDirectoryW (winsyspath, MAX_PATH) == 0)
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment