Fix valgrind warning

This commit is contained in:
Benau 2019-11-08 13:57:11 +08:00
parent 949752451c
commit 1eec3bdfde

View File

@ -44,6 +44,17 @@ StoryModeTimer::StoryModeTimer()
m_story_mode_milliseconds = 0;
m_speedrun_total_pause_time = 0;
m_story_mode_total_pause_time = 0;
m_speedrun_start = 0;
m_speedrun_end = 0;
m_speedrun_pause_start = 0;
m_story_mode_start = 0;
m_story_mode_end = 0;
m_story_mode_pause_start = 0;
m_speedrun_total_pause_time = 0;
m_story_mode_total_pause_time = 0;
} // SpeedrunTimer
void StoryModeTimer::reset()
@ -76,6 +87,16 @@ void StoryModeTimer::reset()
m_story_mode_milliseconds = 0;
m_speedrun_total_pause_time = 0;
m_story_mode_total_pause_time = 0;
m_speedrun_start = 0;
m_speedrun_end = 0;
m_speedrun_pause_start = 0;
m_story_mode_start = 0;
m_story_mode_end = 0;
m_story_mode_pause_start = 0;
m_speedrun_total_pause_time = 0;
m_story_mode_total_pause_time = 0;
}
void StoryModeTimer::startTimer()