From 238c6be5b81cbfcf8cd147b1cbb25d16803efbe1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 17 Dec 2019 19:38:42 +0100 Subject: [PATCH] ntdll: Silence the timezone fixme when the registry is empty. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48300 Signed-off-by: Alexandre Julliard --- dlls/ntdll/time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ntdll/time.c b/dlls/ntdll/time.c index 7f79c3e4ffb..1d5c4f2b31a 100644 --- a/dlls/ntdll/time.c +++ b/dlls/ntdll/time.c @@ -854,6 +854,8 @@ static void find_reg_tz_info(RTL_DYNAMIC_TIME_ZONE_INFORMATION *tzi, const char* NtClose(hkey); + if (idx == 1) return; /* registry info not initialized yet */ + FIXME("Can't find matching timezone information in the registry for " "%s, bias %d, std (d/m/y): %u/%02u/%04u, dlt (d/m/y): %u/%02u/%04u\n", tz_name, tzi->Bias,