mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Fixed uninitialised variabled tempBot in #bot stance command (cppcheck)
This commit is contained in:
+1
-1
@@ -15372,7 +15372,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
|
||||
|
||||
if(!strcasecmp(sep->arg[1], "stance")) {
|
||||
if(sep->argnum == 3){
|
||||
Bot* tempBot;
|
||||
Bot* tempBot = NULL;
|
||||
std::string botName = std::string(sep->arg[2]);
|
||||
|
||||
if(!botName.empty())
|
||||
|
||||
Reference in New Issue
Block a user