From e3ca4afb595e63e1acfabd2c6e5de75ec6461e07 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 21 Mar 2009 15:47:45 +0000 Subject: Fixed some warnings. svn-id: r39590 --- backends/platform/dc/selector.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'backends/platform/dc/selector.cpp') diff --git a/backends/platform/dc/selector.cpp b/backends/platform/dc/selector.cpp index f9646ff22f..9465769ea3 100644 --- a/backends/platform/dc/selector.cpp +++ b/backends/platform/dc/selector.cpp @@ -316,6 +316,7 @@ int gameMenu(Game *games, int num_games) { int top_game = 0, selector_pos = 0; int mousex = 0, mousey = 0; + float y; if (!num_games) return -1; @@ -331,7 +332,7 @@ int gameMenu(Game *games, int num_games) ta_commit_end(); - float y = 40.0; + y = 40.0; for (int i=top_game, cnt=0; cnt<10 && i