diff options
author | Spp <none@none> | 2010-08-21 20:08:47 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-08-21 20:08:47 +0200 |
commit | c3343638cb99865e27c916ba3315aa62ad654e81 (patch) | |
tree | dc90be668561440533d57fe751955408a5c8650b /src/server/shared/Database/QueryResult.cpp | |
parent | 6714feb3ee95fbc2967f7ea11c837d3caac90d3a (diff) |
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
Diffstat (limited to 'src/server/shared/Database/QueryResult.cpp')
-rw-r--r-- | src/server/shared/Database/QueryResult.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |