mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
f7c4594134
commit
27d153db93
11 changed files with 63 additions and 11 deletions
|
@ -781,7 +781,9 @@ void digital_meter(void) {
|
|||
|
||||
enum plugin_status plugin_start(const void* parameter) {
|
||||
int button;
|
||||
#if defined(VUMETER_HELP_PRE) || defined(VUMETER_MENU_PRE)
|
||||
int lastbutton = BUTTON_NONE;
|
||||
#endif
|
||||
|
||||
(void) parameter;
|
||||
|
||||
|
@ -859,7 +861,9 @@ enum plugin_status plugin_start(const void* parameter) {
|
|||
return PLUGIN_USB_CONNECTED;
|
||||
break;
|
||||
}
|
||||
#if defined(VUMETER_HELP_PRE) || defined(VUMETER_MENU_PRE)
|
||||
if (button != BUTTON_NONE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue