aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-08-20 16:04:44 +0200
committerShauren <shauren.trinity@gmail.com>2020-08-20 16:04:44 +0200
commit89fd7d45923671a5f27ab31a43e26b7c553a8957 (patch)
treea4e4095f229f407dd213b43398d5cd985dcc978d /src
parent7d4fbf706ae19481468901ccd65c497fcabe56bf (diff)
Core/Misc: Remove NULL
Diffstat (limited to 'src')
-rw-r--r--src/server/database/Database/MySQLConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/database/Database/MySQLConnection.cpp b/src/server/database/Database/MySQLConnection.cpp
index 1b38b388536..12463d8c46e 100644
--- a/src/server/database/Database/MySQLConnection.cpp
+++ b/src/server/database/Database/MySQLConnection.cpp
@@ -321,8 +321,8 @@ ResultSet* MySQLConnection::Query(char const* sql)
if (!sql)
return nullptr;
- MySQLResult* result = NULL;
- MySQLField* fields = NULL;
+ MySQLResult* result = nullptr;
+ MySQLField* fields = nullptr;
uint64 rowCount = 0;
uint32 fieldCount = 0;