From 891fcb20acedf15f61a285b442e2dcc5815c2c1a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 11 Jun 2011 10:54:58 +0200 Subject: [PATCH] user32: Initialize all of msg (Coverity). --- dlls/user32/tests/msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 62acf8ae63d..8c23da26f6a 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -13054,6 +13054,7 @@ static LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam { KBDLLHOOKSTRUCT *kdbhookstruct = (KBDLLHOOKSTRUCT*)lParam; + msg.hwnd = 0; msg.message = wParam; msg.flags = kbd_hook|wparam|lparam; msg.wParam = kdbhookstruct->vkCode;