summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
commit67f215032d8bab2571aad2da739d72512c064ca4 (patch)
treeb39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/sudoku/sudoku.c
parentab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff)
downloadrockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz
rockbox-67f215032d8bab2571aad2da739d72512c064ca4.zip
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku/sudoku.c')
-rw-r--r--apps/plugins/sudoku/sudoku.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c
index 81c00803f8..f0bff4d2a4 100644
--- a/apps/plugins/sudoku/sudoku.c
+++ b/apps/plugins/sudoku/sudoku.c
@@ -1029,7 +1029,9 @@ enum plugin_status plugin_start(const void* parameter)
1029{ 1029{
1030 bool exit; 1030 bool exit;
1031 int button; 1031 int button;
1032#if defined(SUDOKU_BUTTON_TOGGLE_PRE) || defined(SUDOKU_BUTTON_MENU_PRE)
1032 int lastbutton = BUTTON_NONE; 1033 int lastbutton = BUTTON_NONE;
1034#endif
1033 int res; 1035 int res;
1034 int rc = PLUGIN_OK; 1036 int rc = PLUGIN_OK;
1035 long ticks; 1037 long ticks;
@@ -1289,8 +1291,10 @@ enum plugin_status plugin_start(const void* parameter)
1289 } 1291 }
1290 break; 1292 break;
1291 } 1293 }
1294#if defined(SUDOKU_BUTTON_TOGGLE_PRE) || defined(SUDOKU_BUTTON_MENU_PRE)
1292 if (button != BUTTON_NONE) 1295 if (button != BUTTON_NONE)
1293 lastbutton = button; 1296 lastbutton = button;
1297#endif
1294 1298
1295 display_board(&state); 1299 display_board(&state);
1296 } 1300 }