summaryrefslogtreecommitdiff
path: root/apps/plugins/starfield.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-23 19:09:04 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-23 19:09:04 +0000
commitecb4d2d9a72f223f792e435c3c50d19022a708d4 (patch)
tree8aa3219690d9b12b860365a22002afd1f770b200 /apps/plugins/starfield.c
parent8767ba9a85761ad958e8e74af635ec1ba4eba8f3 (diff)
Remove next reported 'set but unused' warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29920 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r--apps/plugins/starfield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c
index 9d4be34629..5e832aa38a 100644
--- a/apps/plugins/starfield.c
+++ b/apps/plugins/starfield.c
@@ -395,7 +395,7 @@ int plugin_main(void)
{
int button, avg_peak, t_disp=0;
int font_h, font_w;
- bool pulse=true;
+ bool pulse __attribute__ ((unused)) = true; /* 'unused' resolves warnings */
rb->lcd_getstringsize("A", &font_w, &font_h);
starfield_init(&starfield);
starfield_add_stars(&starfield, INIT_STARS);