summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-04 06:11:59 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-04 06:11:59 +0000
commitd6accacc60342c8553d4f3cedb6bfa1729884c83 (patch)
tree87feae6785b4bfdae18eeb95e12d273d45fc799e
parentf19d6a5e1d53feedf76a7edd7756386d9e52339b (diff)
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
-rw-r--r--apps/plugins/fractals/fractal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/fractals/fractal.c b/apps/plugins/fractals/fractal.c
index 5d8413ca6f..8c5d93e0b7 100644
--- a/apps/plugins/fractals/fractal.c
+++ b/apps/plugins/fractals/fractal.c
@@ -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