mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Misc: Fix some static analysis issues
Fix some static analysis issues, mostly false positive about fields not initialized in the constructor. It's good practice anyway to always initialize them.
This commit is contained in:
@@ -86,7 +86,12 @@ private:
|
||||
uint32 _lastChange;
|
||||
uint32 _delaytime;
|
||||
public:
|
||||
FreezeDetectorRunnable() { _delaytime = 0; }
|
||||
FreezeDetectorRunnable()
|
||||
{
|
||||
_loops = 0;
|
||||
_lastChange = 0;
|
||||
_delaytime = 0;
|
||||
}
|
||||
|
||||
void SetDelayTime(uint32 t) { _delaytime = t; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user