Core/Misc: Fix static analysis issues

This commit is contained in:
Aokromes committed 2017-07-16 19:05:26 +02:00
1 parent e4841c960b
commit 8b6261c809
12 files changed
+24 -37

No files matched your search

+1 -2
View File
@@ -583,8 +583,7 @@ public:
static bool HandleBanListIPCommand(ChatHandler* handler, char const* args)
{
PreparedStatement* stmt = NULL;
stmt = LoginDatabase.GetPreparedStatement(LOGIN_DEL_EXPIRED_IP_BANS);
PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_DEL_EXPIRED_IP_BANS);
LoginDatabase.Execute(stmt);
char* filterStr = strtok((char*)args, " ");