summaryrefslogtreecommitdiff
path: root/apps/plugins/sokoban.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 13:48:28 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 13:48:28 +0000
commitf7c45941344ecfbcdd5d9b311b61573d37c6ef58 (patch)
tree4c2fa595d7209694dd30b0e0b349a0a44116d712 /apps/plugins/sokoban.c
parent08fb3f65745a237e2c1eae55d856ff27702246e5 (diff)
downloadrockbox-f7c45941344ecfbcdd5d9b311b61573d37c6ef58.tar.gz
rockbox-f7c45941344ecfbcdd5d9b311b61573d37c6ef58.zip
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
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r--apps/plugins/sokoban.c4
1 files changed, 0 insertions, 4 deletions
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)
1528{ 1528{
1529 bool moved; 1529 bool moved;
1530 int i = 0, button = 0, lastbutton = 0; 1530 int i = 0, button = 0, lastbutton = 0;
1531 short r = 0, c = 0;
1532 int w, h; 1531 int w, h;
1533 char *loc; 1532 char *loc;
1534 1533
1535 while (true) { 1534 while (true) {
1536 moved = false; 1535 moved = false;
1537 1536
1538 r = current_info.player.row;
1539 c = current_info.player.col;
1540
1541 button = rb->button_get(true); 1537 button = rb->button_get(true);
1542 1538
1543 switch(button) 1539 switch(button)