diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 13:48:28 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 13:48:28 +0000 |
commit | f7c45941344ecfbcdd5d9b311b61573d37c6ef58 (patch) | |
tree | 4c2fa595d7209694dd30b0e0b349a0a44116d712 /apps/plugins/chessbox/chessbox.c | |
parent | 08fb3f65745a237e2c1eae55d856ff27702246e5 (diff) | |
download | rockbox-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/chessbox/chessbox.c')
-rw-r--r-- | apps/plugins/chessbox/chessbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 ) { | |||
321 | /* ---- Restore saved position ---- */ | 321 | /* ---- Restore saved position ---- */ |
322 | void cb_restoreposition ( void ) { | 322 | void cb_restoreposition ( void ) { |
323 | int fd; | 323 | int fd; |
324 | int c; | ||
325 | short sq; | 324 | short sq; |
326 | unsigned short m; | 325 | unsigned short m; |
327 | 326 | ||
@@ -357,7 +356,7 @@ void cb_restoreposition ( void ) { | |||
357 | else | 356 | else |
358 | --color[sq]; | 357 | --color[sq]; |
359 | } | 358 | } |
360 | GameCnt = -1; c = '?'; | 359 | GameCnt = -1; |
361 | while (rb->read(fd, &(GameList[++GameCnt].gmove), | 360 | while (rb->read(fd, &(GameList[++GameCnt].gmove), |
362 | sizeof(GameList[GameCnt].gmove)) > 0) { | 361 | sizeof(GameList[GameCnt].gmove)) > 0) { |
363 | rb->read(fd, &(GameList[GameCnt].score), | 362 | rb->read(fd, &(GameList[GameCnt].score), |