Nikolay Sivov : comctl32/tests: Fix uninitialized variable case (Coverity) .

Alexandre Julliard julliard at winehq.org
Tue Mar 25 14:27:43 CDT 2014


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Mar 25 07:55:55 2014 +0400

comctl32/tests: Fix uninitialized variable case (Coverity).

---

 dlls/comctl32/tests/header.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c
index d6e5a01..2c1320b 100644
--- a/dlls/comctl32/tests/header.c
+++ b/dlls/comctl32/tests/header.c
@@ -442,6 +442,7 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
         if (defwndproc_counter) msg.flags |= defwinproc;
         msg.wParam = wParam;
         msg.lParam = lParam;
+        msg.id = 0;
         add_message(sequences, PARENT_SEQ_INDEX, &msg);
    }
 




More information about the wine-cvs mailing list