forked from len0rd/rockbox
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
|
|
@ -31,7 +31,9 @@
|
|||
enum plugin_status plugin_start(const void* file)
|
||||
{
|
||||
int button;
|
||||
#if defined(TV_AUTOSCROLL_PRE)
|
||||
int lastbutton = BUTTON_NONE;
|
||||
#endif
|
||||
bool autoscroll = false;
|
||||
long old_tick;
|
||||
bool done = false;
|
||||
|
|
@ -211,7 +213,9 @@ enum plugin_status plugin_start(const void* file)
|
|||
}
|
||||
if (button != BUTTON_NONE)
|
||||
{
|
||||
#if defined(TV_AUTOSCROLL_PRE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
rb->yield();
|
||||
}
|
||||
if (autoscroll)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue