aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/SQLOperation.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-08-21 20:08:47 +0200
committerSpp <none@none>2010-08-21 20:08:47 +0200
commitc3343638cb99865e27c916ba3315aa62ad654e81 (patch)
treedc90be668561440533d57fe751955408a5c8650b /src/server/shared/Database/SQLOperation.cpp
parent6714feb3ee95fbc2967f7ea11c837d3caac90d3a (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/SQLOperation.cpp')
-rw-r--r--src/server/shared/Database/SQLOperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/shared/Database/SQLOperation.cpp b/src/server/shared/Database/SQLOperation.cpp
index 25da4344c14..b524e962544 100644
--- a/src/server/shared/Database/SQLOperation.cpp
+++ b/src/server/shared/Database/SQLOperation.cpp
@@ -29,8 +29,8 @@ m_has_result(false)
}
BasicStatementTask::BasicStatementTask(const char* sql, QueryResultFuture result) :
-m_result(result),
-m_has_result(true)
+m_has_result(true),
+m_result(result)
{
m_sql = strdup(sql);
}