Commit b3c4131d authored by Julian Helfferich's avatar Julian Helfferich

Fix Coverty issue #76280

The member variable mInitialInterval and mLevelUpInterval are not
initialized in the constructor. Now, they are initialized taking the
value 0, the default values for AI mode.
parent bbda47c2
......@@ -22,6 +22,9 @@ KBlocksGameLogic::KBlocksGameLogic(int capacity, bool record)
mStandbyMode = false;
mGameInterval = 0;
mInitialInterval = 0;
mLevelUpInterval = 0;
maGameList = new KBlocksSingleGame*[capacity];
if (record) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment