Fix last known 'variable set but not used' warning reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29820 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f19d6a5e1d
commit
d6accacc60
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
#if defined(FRACTAL_ZOOM_OUT_PRE) || \
|
||||
defined(FRACTAL_ZOOM_IN_PRE) || \
|
||||
defined(FRACTAL_PRECISION_DEC_PRE) || \
|
||||
defined(FRACTAL_PRECISION_INC)
|
||||
defined(FRACTAL_PRECISION_INC_PRE)
|
||||
long lastbutton = BUTTON_NONE;
|
||||
#endif
|
||||
int redraw = REDRAW_FULL;
|
||||
|
@ -254,7 +254,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
#if defined(FRACTAL_ZOOM_OUT_PRE) || \
|
||||
defined(FRACTAL_ZOOM_IN_PRE) || \
|
||||
defined(FRACTAL_PRECISION_DEC_PRE) || \
|
||||
defined(FRACTAL_PRECISION_INC)
|
||||
defined(FRACTAL_PRECISION_INC_PRE)
|
||||
if (button != BUTTON_NONE)
|
||||
lastbutton = button;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue