diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 14:44:20 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-01 14:44:20 +0000 |
commit | 27d153db930a231718a18ec5a886c8789077c83a (patch) | |
tree | 9d29fd6c1348f3ca1742774cb242177b3d0ca82b /apps/plugins/vu_meter.c | |
parent | f7c45941344ecfbcdd5d9b311b61573d37c6ef58 (diff) | |
download | rockbox-27d153db930a231718a18ec5a886c8789077c83a.tar.gz rockbox-27d153db930a231718a18ec5a886c8789077c83a.zip |
Fix nearly all residual 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29810 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r-- | apps/plugins/vu_meter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c index 8877d7f460..5266214723 100644 --- a/apps/plugins/vu_meter.c +++ b/apps/plugins/vu_meter.c | |||
@@ -781,7 +781,9 @@ void digital_meter(void) { | |||
781 | 781 | ||
782 | enum plugin_status plugin_start(const void* parameter) { | 782 | enum plugin_status plugin_start(const void* parameter) { |
783 | int button; | 783 | int button; |
784 | #if defined(VUMETER_HELP_PRE) || defined(VUMETER_MENU_PRE) | ||
784 | int lastbutton = BUTTON_NONE; | 785 | int lastbutton = BUTTON_NONE; |
786 | #endif | ||
785 | 787 | ||
786 | (void) parameter; | 788 | (void) parameter; |
787 | 789 | ||
@@ -859,7 +861,9 @@ enum plugin_status plugin_start(const void* parameter) { | |||
859 | return PLUGIN_USB_CONNECTED; | 861 | return PLUGIN_USB_CONNECTED; |
860 | break; | 862 | break; |
861 | } | 863 | } |
864 | #if defined(VUMETER_HELP_PRE) || defined(VUMETER_MENU_PRE) | ||
862 | if (button != BUTTON_NONE) | 865 | if (button != BUTTON_NONE) |
863 | lastbutton = button; | 866 | lastbutton = button; |
867 | #endif | ||
864 | } | 868 | } |
865 | } | 869 | } |