From 748dc0841f59bc1a33ddc717bf180b8e19a4a9c8 Mon Sep 17 00:00:00 2001 From: cosmosninja Date: Sun, 9 Dec 2007 23:46:52 +0000 Subject: [PATCH] Prevent a gcc warning. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1330 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/user_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user_config.cpp b/src/user_config.cpp index f359dd2eb..a05954433 100644 --- a/src/user_config.cpp +++ b/src/user_config.cpp @@ -919,7 +919,7 @@ UserConfig::newIngameActionMap() // TODO: Reorder ingame GameAction values so that they start with // the fixed ones. This would allow simpler looking code here. - GameAction gaEnd; + GameAction gaEnd = GA_NULL; switch (race_manager->getNumPlayers()) {