From 27400b0be1720b80f2e3f88fc1d41ff85159bb7b Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 28 Mar 2016 17:19:13 +0200 Subject: [PATCH] pcsx2: initialize pxEvtQueue CID 146991 --- pcsx2/gui/ExecutorThread.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pcsx2/gui/ExecutorThread.cpp b/pcsx2/gui/ExecutorThread.cpp index 2651be716b..e4f68e25a3 100644 --- a/pcsx2/gui/ExecutorThread.cpp +++ b/pcsx2/gui/ExecutorThread.cpp @@ -148,7 +148,7 @@ void SysExecEvent::_DoInvokeEvent() // Posts an empty result to the invoking context/thread of this message, if one exists. // If the invoking thread posted the event in non-blocking fashion then no action is // taken. -void SysExecEvent::PostResult() const +void SysExecEvent::PostResult() const { if( m_sync ) m_sync->PostResult(); } @@ -156,10 +156,9 @@ void SysExecEvent::PostResult() const // -------------------------------------------------------------------------------------- // pxEvtQueue Implementations // -------------------------------------------------------------------------------------- -pxEvtQueue::pxEvtQueue() +pxEvtQueue::pxEvtQueue() : + m_OwnerThreadId(), m_Quitting(false), m_qpc_Start(0) { - m_Quitting = false; - m_qpc_Start = 0; } // Puts the event queue into Shutdown mode, which does *not* immediately stop nor cancel