[PATCH v2 0/1] MR7044: comctl32/tests: Initialize hwnd = NULL before rebuild_toolbar(&hwnd).
https://gitlab.winehq.org/wine/wine/-/merge_requests/6737#note_86205 -- v2: comctl32/tests: Initialize hwnd to NULL before calling rebuild_toolbar(). https://gitlab.winehq.org/wine/wine/-/merge_requests/7044
From: Alanas Tebuev <alanas.00(a)mail.ru> https://gitlab.winehq.org/wine/wine/-/merge_requests/6737#note_86205 --- dlls/comctl32/tests/toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c index 7c886e1f88f..ebeb49fe8d4 100644 --- a/dlls/comctl32/tests/toolbar.c +++ b/dlls/comctl32/tests/toolbar.c @@ -2747,7 +2747,7 @@ static void test_BTNS_SEP(void) { TBBUTTON buttons[1], button; LRESULT ret; - HWND hwnd; + HWND hwnd = NULL; rebuild_toolbar(&hwnd); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7044
This merge request was approved by Zhiyi Zhang. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7044
participants (3)
-
Alanas Tebuev -
Alanas Tebuev (@BZZZZ) -
Zhiyi Zhang (@zhiyi)