mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Fixed uninitialised mercOwner highlighted by cppcheck.
This commit is contained in:
parent
ff9e4e0780
commit
aceaba0fb0
@ -5166,11 +5166,8 @@ bool Merc::Unsuspend(bool setMaxStats) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Merc::Dismiss(){
|
bool Merc::Dismiss(){
|
||||||
Client* mercOwner;
|
|
||||||
|
|
||||||
if(GetMercOwner()) {
|
Client* mercOwner = GetMercOwner();
|
||||||
mercOwner = GetMercOwner();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!mercOwner)
|
if(!mercOwner)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user