comctl32/tests: Use initialized window handle when rebuilding toolbar (Coverity).

This commit is contained in:
Frédéric Delanoy 2012-02-18 13:46:08 +01:00 committed by Alexandre Julliard
parent fdcf7cc9af
commit 3c13f991e4
1 changed files with 1 additions and 1 deletions

View File

@ -1881,7 +1881,7 @@ static void test_TB_GET_SET_EXTENDEDSTYLE(void)
{ {
DWORD style, oldstyle, oldstyle2; DWORD style, oldstyle, oldstyle2;
const extended_style_t *ptr; const extended_style_t *ptr;
HWND hwnd; HWND hwnd = NULL;
int i; int i;
rebuild_toolbar(&hwnd); rebuild_toolbar(&hwnd);