From 0290583ab99d1c3f0ca4821f9a69d993037b8722 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Fri, 12 May 2017 00:20:59 +0100 Subject: [PATCH] #6037 Unitialized handles and other members in ArchTaskBarWindows --- src/lib/arch/win32/ArchTaskBarWindows.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lib/arch/win32/ArchTaskBarWindows.cpp b/src/lib/arch/win32/ArchTaskBarWindows.cpp index 3ec3b21b..61376674 100644 --- a/src/lib/arch/win32/ArchTaskBarWindows.cpp +++ b/src/lib/arch/win32/ArchTaskBarWindows.cpp @@ -39,10 +39,14 @@ static const UINT kFirstReceiverID = WM_USER + 14; ArchTaskBarWindows* ArchTaskBarWindows::s_instance = NULL; ArchTaskBarWindows::ArchTaskBarWindows() : - m_nextID(kFirstReceiverID), - m_thread(NULL), + m_mutex(NULL), m_condVar(NULL), - m_mutex(NULL) + m_ready(false), + m_result(0), + m_thread(NULL), + m_hwnd(NULL), + m_taskBarRestart(0), + m_nextID(kFirstReceiverID) { // save the singleton instance s_instance = this;