From 408fce1de69249b82cc042cb31f3fd16983c7e81 Mon Sep 17 00:00:00 2001 From: Spp Date: Mon, 6 Dec 2010 02:07:53 +0100 Subject: Core: Some optimizations - Declare some functions const - Fix some mem leak - Fix some resource leak - Remove unused variables and functions - Remove duplicate functions - Reduce the scope of some variables - Remove unused file --HG-- branch : trunk --- src/server/shared/Database/SQLOperation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/shared/Database/SQLOperation.h') diff --git a/src/server/shared/Database/SQLOperation.h b/src/server/shared/Database/SQLOperation.h index bd75634636b..315167443dd 100755 --- a/src/server/shared/Database/SQLOperation.h +++ b/src/server/shared/Database/SQLOperation.h @@ -59,7 +59,7 @@ class MySQLConnection; class SQLOperation : public ACE_Method_Request { public: - SQLOperation(){}; + SQLOperation(): m_conn(NULL) {}; virtual int call() { Execute(); -- cgit v1.2.3