more warning fixes
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
using namespace SourceMod;
|
||||
|
||||
MysqlResultRow::MysqlResultRow() :
|
||||
m_Columns(0), m_CurRow(NULL)
|
||||
m_CurRow(NULL), m_Columns(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -327,7 +327,7 @@ AtomicResult::AtomicResult()
|
||||
{
|
||||
m_IsFree = true;
|
||||
m_CurRow = 1;
|
||||
m_RowCount = NULL;
|
||||
m_RowCount = 0;
|
||||
m_Table = NULL;
|
||||
m_AllocSize = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user