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:
Andree Buschmann 2011-05-04 06:11:59 +00:00
parent f19d6a5e1d
commit d6accacc60

View file

@ -96,7 +96,7 @@ enum plugin_status plugin_start(const void* parameter)
#if defined(FRACTAL_ZOOM_OUT_PRE) || \ #if defined(FRACTAL_ZOOM_OUT_PRE) || \
defined(FRACTAL_ZOOM_IN_PRE) || \ defined(FRACTAL_ZOOM_IN_PRE) || \
defined(FRACTAL_PRECISION_DEC_PRE) || \ defined(FRACTAL_PRECISION_DEC_PRE) || \
defined(FRACTAL_PRECISION_INC) defined(FRACTAL_PRECISION_INC_PRE)
long lastbutton = BUTTON_NONE; long lastbutton = BUTTON_NONE;
#endif #endif
int redraw = REDRAW_FULL; int redraw = REDRAW_FULL;
@ -254,7 +254,7 @@ enum plugin_status plugin_start(const void* parameter)
#if defined(FRACTAL_ZOOM_OUT_PRE) || \ #if defined(FRACTAL_ZOOM_OUT_PRE) || \
defined(FRACTAL_ZOOM_IN_PRE) || \ defined(FRACTAL_ZOOM_IN_PRE) || \
defined(FRACTAL_PRECISION_DEC_PRE) || \ defined(FRACTAL_PRECISION_DEC_PRE) || \
defined(FRACTAL_PRECISION_INC) defined(FRACTAL_PRECISION_INC_PRE)
if (button != BUTTON_NONE) if (button != BUTTON_NONE)
lastbutton = button; lastbutton = button;
#endif #endif