Marcus Meissner : user32: Initialize all of msg (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Jun 13 11:49:16 CDT 2011


Module: wine
Branch: master
Commit: 891fcb20acedf15f61a285b442e2dcc5815c2c1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=891fcb20acedf15f61a285b442e2dcc5815c2c1a

Author: Marcus Meissner <marcus at 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;




More information about the wine-cvs mailing list