Core/Misc: Fix some issues detected by static analysis
* Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? -> This argument is passed by value, it makes no sence so set it to null here. * Member variable 'instance_violet_hold_InstanceMapScript::bWiped' is not initialized in the constructor. (cherry picked from commit 433bc289c2c82b7377ad0189e415a3ca070d220f)
This commit is contained in:
1 parent
f25666375e
commit
e96676aedd
2 files changed
+1
-2
No files matched your search
@@ -440,8 +440,6 @@ bool AuctionHouseObject::RemoveAuction(AuctionEntry* auction)
|
||||
|
||||
// we need to delete the entry, it is not referenced any more
|
||||
delete auction;
|
||||
auction = NULL;
|
||||
|
||||
return wasInMap;
|
||||
}
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@ public:
|
||||
uiCyanigosaEventTimer = 3 * IN_MILLISECONDS;
|
||||
|
||||
bActive = false;
|
||||
bWiped = false;
|
||||
bIsDoorSpellCast = false;
|
||||
bCrystalActivated = false;
|
||||
defenseless = true;
|
||||
|
||||
Reference in new issue
Block a user