[PATCH 0/1] MR7044: comctl32/tests: Initialize hwnd = NULL before rebuild_toolbar(&hwnd).
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
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/toolbar.c:
{ TBBUTTON buttons[1], button; LRESULT ret; - HWND hwnd; Let's change the commit subject to "comctl32/tests: Initialize hwnd to NULL before calling rebuild_toolbar()."
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7044#note_90857
This merge request was approved by Nikolay Sivov. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7044
participants (4)
-
Alanas Tebuev -
Alanas Tebuev (@BZZZZ) -
Nikolay Sivov (@nsivov) -
Zhiyi Zhang (@zhiyi)