kernelbase: When enumerating calendars initialize optional to 0.
This fixes regression introduced by 42ed9797b1
.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
866c4e2fde
commit
feb3d8e33c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue