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/chessbox/chessbox.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/plugins/chessbox/chessbox.c') diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 4876231207..6e77b62718 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -321,7 +321,6 @@ void cb_saveposition ( void ) { /* ---- Restore saved position ---- */ void cb_restoreposition ( void ) { int fd; - int c; short sq; unsigned short m; @@ -357,7 +356,7 @@ void cb_restoreposition ( void ) { else --color[sq]; } - GameCnt = -1; c = '?'; + GameCnt = -1; while (rb->read(fd, &(GameList[++GameCnt].gmove), sizeof(GameList[GameCnt].gmove)) > 0) { rb->read(fd, &(GameList[GameCnt].score), -- cgit v1.2.3