1
0

Added initializers for class members.

As reported by Coverity, these weren't initialized.
This commit is contained in:
Mattes D
2014-08-21 22:39:53 +02:00
parent 4358421cd4
commit 64fec204c4
14 changed files with 54 additions and 9 deletions

View File

@@ -21,7 +21,8 @@ const int CYCLE_MILLISECONDS = 100;
cDeadlockDetect::cDeadlockDetect(void) :
super("DeadlockDetect")
super("DeadlockDetect"),
m_IntervalSec(1000)
{
}
@@ -136,6 +137,7 @@ void cDeadlockDetect::CheckWorldAge(const AString & a_WorldName, Int64 a_Age)
void cDeadlockDetect::DeadlockDetected(void)
{
LOGERROR("Deadlock detected, aborting the server");
ASSERT(!"Deadlock detected");
abort();
}