mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 08:59:11 +01:00
Core: Remove lots warnings:
- All "'xxx' will be initialized after 'yyy' when initialized here" - Some "unused variable" - Some "enumeration value 'xxx' not handled in switch" --HG-- branch : trunk
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
#include "DatabaseEnv.h"
|
||||
|
||||
QueryResult::QueryResult(MYSQL_RES *result, MYSQL_FIELD *fields, uint64 rowCount, uint32 fieldCount)
|
||||
: mResult(result)
|
||||
, mFieldCount(fieldCount)
|
||||
: mFieldCount(fieldCount)
|
||||
, mRowCount(rowCount)
|
||||
, mResult(result)
|
||||
{
|
||||
mCurrentRow = new Field[mFieldCount];
|
||||
ASSERT(mCurrentRow);
|
||||
|
||||
Reference in New Issue
Block a user