Dmitry Timoshkov : kernelbase: When enumerating calendars initialize optional to 0.
Alexandre Julliard
julliard at winehq.org
Thu Nov 21 16:33:26 CST 2019
Module: wine
Branch: master
Commit: feb3d8e33c6ac297407d7cdafdd11c897842e508
URL: https://source.winehq.org/git/wine.git/?a=commit;h=feb3d8e33c6ac297407d7cdafdd11c897842e508
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Nov 21 13:22:54 2019 +0800
kernelbase: When enumerating calendars initialize optional to 0.
This fixes regression introduced by 42ed9797b1929fc5917bd967f7062cab953fab55.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernelbase/locale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernelbase/locale.c b/dlls/kernelbase/locale.c
index 4ec5016b3f..073d759936 100644
--- a/dlls/kernelbase/locale.c
+++ b/dlls/kernelbase/locale.c
@@ -173,7 +173,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH Internal_EnumCalendarInfo( CALINFO_ENUMPROCW proc,
BOOL exex, LPARAM lparam )
{
WCHAR buffer[256];
- DWORD optional;
+ DWORD optional = 0;
INT ret;
if (!proc)
More information about the wine-cvs
mailing list