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
|
@ -649,7 +649,11 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
#endif
|
||||
|
||||
int button;
|
||||
#if defined(CUBE_MODE_PRE) || \
|
||||
defined(CUBE_PAUSE_PRE) || \
|
||||
defined(CUBE_HIGHSPEED_PRE)
|
||||
int lastbutton = BUTTON_NONE;
|
||||
#endif
|
||||
int curr = 0;
|
||||
bool highspeed = false;
|
||||
bool paused = false;
|
||||
|
@ -855,8 +859,12 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
exit_on_usb(button);
|
||||
break;
|
||||
}
|
||||
#if defined(CUBE_MODE_PRE) || \
|
||||
defined(CUBE_PAUSE_PRE) || \
|
||||
defined(CUBE_HIGHSPEED_PRE)
|
||||
if (button != BUTTON_NONE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
}
|
||||
|
||||
return PLUGIN_OK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue