From ee316e75b1b1e39f1a52d4a66a522b00f2a12260 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Fri, 31 Aug 2012 06:29:13 +0000 Subject: Misc (re #1562): fixed compile warnings on Win platform (some are reported as compile error on Symbian). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4239 74dad513-b988-da41-8d7b-12977e46ad98 --- 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 8ff8de4a..59474ed0 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