From f7c45941344ecfbcdd5d9b311b61573d37c6ef58 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 1 May 2011 13:48:28 +0000 Subject: Fix further 'variable set but not used' warnings reported from GCC 4.6.0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29809 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/sokoban.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/plugins/sokoban.c') diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 40288330bf..29bdbbbba5 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c @@ -1528,16 +1528,12 @@ static bool sokoban_loop(void) { bool moved; int i = 0, button = 0, lastbutton = 0; - short r = 0, c = 0; int w, h; char *loc; while (true) { moved = false; - r = current_info.player.row; - c = current_info.player.col; - button = rb->button_get(true); switch(button) -- cgit v1.2.3