Module: wine Branch: master Commit: 891fcb20acedf15f61a285b442e2dcc5815c2c1a URL: http://source.winehq.org/git/wine.git/?a=commit;h=891fcb20acedf15f61a285b442...
Author: Marcus Meissner marcus@jet.franken.de Date: Sat Jun 11 10:54:58 2011 +0200
user32: Initialize all of msg (Coverity).
---
dlls/user32/tests/msg.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 62acf8a..8c23da2 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;