Nikolay Sivov : comctl32/tests: Fully initialize message tests data ( Coverity).
Alexandre Julliard
julliard at winehq.org
Fri Apr 21 15:18:16 CDT 2017
Module: wine
Branch: master
Commit: 299ded609122bd57bc10abd980adda9327b17b4c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=299ded609122bd57bc10abd980adda9327b17b4c
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Apr 21 13:16:01 2017 +0300
comctl32/tests: Fully initialize message tests data (Coverity).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/tests/pager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/tests/pager.c b/dlls/comctl32/tests/pager.c
index 7a9cdbb..afe6fc6 100644
--- a/dlls/comctl32/tests/pager.c
+++ b/dlls/comctl32/tests/pager.c
@@ -207,8 +207,8 @@ static HWND create_pager_control( DWORD style )
static LRESULT WINAPI child_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
- struct message msg;
static LONG defwndproc_counter;
+ struct message msg = { 0 };
LRESULT ret;
msg.message = message;
More information about the wine-cvs
mailing list