From: Alanas Tebuev alanas.00@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);
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()."
This merge request was approved by Nikolay Sivov.