More warning fixes.

This commit is contained in:
Jason Felds
2011-06-11 09:48:16 -04:00
parent 788d7005dc
commit 50cb0f9b78
+2 -2
View File
@@ -525,7 +525,7 @@ static set<int> *g_FreeMutexIDs = NULL;
#endif
RageMutex::RageMutex( const RString &name ):
m_sName( name ), m_pMutex( MakeMutex (this ) ),
m_pMutex( MakeMutex (this ) ), m_sName(name),
m_LockedBy(GetInvalidThreadId()), m_LockCnt(0)
{
@@ -732,7 +732,7 @@ bool RageEvent::WaitTimeoutSupported() const
}
RageSemaphore::RageSemaphore( RString sName, int iInitialValue ):
m_sName( sName ), m_pSema(MakeSemaphore( iInitialValue )) {}
m_pSema(MakeSemaphore( iInitialValue )), m_sName(sName) {}
RageSemaphore::~RageSemaphore()
{