From d6accacc60342c8553d4f3cedb6bfa1729884c83 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Wed, 4 May 2011 06:11:59 +0000 Subject: [PATCH] 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 --- apps/plugins/fractals/fractal.c | 4 ++-- 1 file 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