From c3343638cb99865e27c916ba3315aa62ad654e81 Mon Sep 17 00:00:00 2001 From: Spp Date: Sat, 21 Aug 2010 20:08:47 +0200 Subject: 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 --- src/server/shared/Database/QueryResult.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/shared/Database/QueryResult.cpp') diff --git a/src/server/shared/Database/QueryResult.cpp b/src/server/shared/Database/QueryResult.cpp index 8b0c437b066..dfcb3a94acd 100644 --- a/src/server/shared/Database/QueryResult.cpp +++ b/src/server/shared/Database/QueryResult.cpp @@ -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); -- cgit v1.2.3