From c416248e9bfd27fca372d5347d145390662b91c7 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 1 Jul 2014 20:08:21 +0200 Subject: [PATCH] Fix uninitialized variable --- cockatrice/src/tab_game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cockatrice/src/tab_game.cpp b/cockatrice/src/tab_game.cpp index b99fff020..f50f96b77 100644 --- a/cockatrice/src/tab_game.cpp +++ b/cockatrice/src/tab_game.cpp @@ -245,7 +245,8 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay) activeCard(0), gameClosed(false), replay(_replay), - currentReplayStep(0) + currentReplayStep(0), + secondsElapsed(0) { setAttribute(Qt::WA_DeleteOnClose);