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:
jackpoz
2013-12-01 16:19:30 +01:00
parent 3db9d5ed72
commit 04cc51a6cf
16 changed files with 41 additions and 18 deletions

View File

@@ -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; }