From 3c13f991e43215ba08badce5a5bba99c93ed102a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= <frederic.delanoy@gmail.com> Date: Sat, 18 Feb 2012 13:46:08 +0100 Subject: [PATCH] comctl32/tests: Use initialized window handle when rebuilding toolbar (Coverity). --- 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 474e5efa088..244497537d9 100644 --- a/dlls/comctl32/tests/toolbar.c +++ b/dlls/comctl32/tests/toolbar.c @@ -1881,7 +1881,7 @@ static void test_TB_GET_SET_EXTENDEDSTYLE(void) { DWORD style, oldstyle, oldstyle2; const extended_style_t *ptr; - HWND hwnd; + HWND hwnd = NULL; int i; rebuild_toolbar(&hwnd); -- GitLab