mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 21:12:26 +00:00
Fixed uninitialised variabled tempBot in #bot stance command (cppcheck)
This commit is contained in:
parent
9a47e79e8e
commit
af1f87a00f
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user