more warning fixes

This commit is contained in:
Borja Ferrer
2006-08-18 19:08:51 +00:00
parent e2932fb61a
commit f3a833dd1b
17 changed files with 22 additions and 19 deletions

View File

@ -239,7 +239,7 @@ bool SWThreadHandle::WaitForThread()
}
SWThreadHandle::SWThreadHandle(IThreadCreator *parent, const ThreadParams *p, IThread *thread) :
m_parent(parent), m_params(*p), pThread(thread), m_state(Thread_Paused)
m_state(Thread_Paused), m_params(*p), m_parent(parent), pThread(thread)
{
}

View File

@ -146,7 +146,7 @@ void PosixThreader::PosixMutex::DestroyThis()
******************/
PosixThreader::ThreadHandle::ThreadHandle(IThreader *parent, IThread *run, const ThreadParams *params) :
m_parent(parent), m_run(run), m_params(*params), m_state(Thread_Paused)
m_parent(parent), m_params(*params), m_run(run), m_state(Thread_Paused)
{
pthread_mutex_init(&m_runlock, NULL);
pthread_mutex_init(&m_statelock, NULL);