From 813727d774546d161703d94878de0c7d93ccbfce Mon Sep 17 00:00:00 2001 From: hikerstk Date: Tue, 2 Sep 2008 00:08:18 +0000 Subject: [PATCH] Fixed compiler warnings. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2213 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/challenges/challenge_data.cpp | 2 +- src/lisp/parser.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/challenges/challenge_data.cpp b/src/challenges/challenge_data.cpp index f4d77bfc3..ad6920465 100755 --- a/src/challenges/challenge_data.cpp +++ b/src/challenges/challenge_data.cpp @@ -249,4 +249,4 @@ bool ChallengeData::grandPrixFinished() Kart* kart=world->getPlayerKart(0); if(kart->getPosition()>m_position) return false; return true; -} // grandPrixFinished \ No newline at end of file +} // grandPrixFinished diff --git a/src/lisp/parser.cpp b/src/lisp/parser.cpp index 9b557f644..c3b4e1457 100644 --- a/src/lisp/parser.cpp +++ b/src/lisp/parser.cpp @@ -83,7 +83,7 @@ namespace lisp Lisp* Parser::read() { - Lisp* result; + Lisp* result=0; switch(m_token) { case Lexer::TOKEN_EOF: