diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 21:06:38 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 21:06:38 +0000 |
commit | 67f215032d8bab2571aad2da739d72512c064ca4 (patch) | |
tree | b39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/reversi/reversi-gui.c | |
parent | ab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff) | |
download | rockbox-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/reversi/reversi-gui.c')
-rw-r--r-- | apps/plugins/reversi/reversi-gui.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index 6f5d53da58..184b5ad7f0 100644 --- a/apps/plugins/reversi/reversi-gui.c +++ b/apps/plugins/reversi/reversi-gui.c | |||
@@ -610,7 +610,10 @@ enum plugin_status plugin_start(const void *parameter) { | |||
610 | #ifdef HAVE_TOUCHSCREEN | 610 | #ifdef HAVE_TOUCHSCREEN |
611 | int button_x, button_y; | 611 | int button_x, button_y; |
612 | #endif | 612 | #endif |
613 | #if defined(REVERSI_BUTTON_MENU_LONGPRESS) || \ | ||
614 | defined(REVERSI_BUTTON_MAKE_MOVE_SHORTPRESS) | ||
613 | int lastbutton = BUTTON_NONE; | 615 | int lastbutton = BUTTON_NONE; |
616 | #endif | ||
614 | int row, col; | 617 | int row, col; |
615 | int w_cnt, b_cnt; | 618 | int w_cnt, b_cnt; |
616 | 619 | ||
@@ -787,10 +790,12 @@ enum plugin_status plugin_start(const void *parameter) { | |||
787 | /* Quit if USB has been connected */ | 790 | /* Quit if USB has been connected */ |
788 | return PLUGIN_USB_CONNECTED; | 791 | return PLUGIN_USB_CONNECTED; |
789 | } | 792 | } |
790 | 793 | #if defined(REVERSI_BUTTON_MENU_LONGPRESS) || \ | |
794 | defined(REVERSI_BUTTON_MAKE_MOVE_SHORTPRESS) | ||
791 | if (button != BUTTON_NONE) { | 795 | if (button != BUTTON_NONE) { |
792 | lastbutton = button; | 796 | lastbutton = button; |
793 | } | 797 | } |
798 | #endif | ||
794 | } | 799 | } |
795 | 800 | ||
796 | return PLUGIN_OK; | 801 | return PLUGIN_OK; |