[PATCH 1/2] comctl32/tests: Fully initialize message tests data (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Fri Apr 21 05:16:01 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 7a9cdbbdf5..afe6fc6a7e 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;
--
2.11.0
More information about the wine-patches
mailing list