From 483805f79570115ab95c69698792d238c1719b1b Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Mon, 11 Mar 2013 15:09:56 -0500 Subject: Import pjproject-2.1 --- third_party/BaseClasses/wxutil.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'third_party') diff --git a/third_party/BaseClasses/wxutil.cpp b/third_party/BaseClasses/wxutil.cpp index 8ff8de4..59474ed 100644 --- a/third_party/BaseClasses/wxutil.cpp +++ b/third_party/BaseClasses/wxutil.cpp @@ -58,7 +58,7 @@ BOOL CAMMsgEvent::WaitMsg(DWORD dwTimeout) // timeout (in MS) to expire. allow SENT messages // to be processed while we wait DWORD dwWait; - DWORD dwStartTime; + DWORD dwStartTime = 0; // set the waiting period. DWORD dwWaitTime = dwTimeout; @@ -603,8 +603,8 @@ DWORD WINAPI WaitDispatchingMessages( { BOOL bPeeked = FALSE; DWORD dwResult; - DWORD dwStart; - DWORD dwThreadPriority; + DWORD dwStart = 0; + DWORD dwThreadPriority = THREAD_PRIORITY_HIGHEST; static UINT uMsgId = 0; -- cgit v1.2.3