diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-28 17:03:45 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-28 17:03:45 +0000 |
commit | 99257101f266ce5193de08027d8f5b067f0d5f30 (patch) | |
tree | 803e907d56f46c15e92b5370a34b1ceb1ba6293a /apps/gui | |
parent | 4f7a73aad84cf7b2f60b2975479281e65daaca69 (diff) | |
download | rockbox-99257101f266ce5193de08027d8f5b067f0d5f30.tar.gz rockbox-99257101f266ce5193de08027d8f5b067f0d5f30.zip |
Fix a 'set but not used' warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30615 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 5a64be17dc..369bd46be5 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -303,7 +303,9 @@ static void do_tags_in_hidden_conditional(struct skin_element* branch, | |||
303 | else if (branch->type == LINE && branch->children_count) | 303 | else if (branch->type == LINE && branch->children_count) |
304 | { | 304 | { |
305 | struct skin_element *child = branch->children[0]; | 305 | struct skin_element *child = branch->children[0]; |
306 | #if defined(HAVE_LCD_BITMAP) || defined(HAVE_ALBUMART) | ||
306 | struct wps_token *token; | 307 | struct wps_token *token; |
308 | #endif | ||
307 | while (child) | 309 | while (child) |
308 | { | 310 | { |
309 | if (child->type == CONDITIONAL) | 311 | if (child->type == CONDITIONAL) |
@@ -321,7 +323,9 @@ static void do_tags_in_hidden_conditional(struct skin_element* branch, | |||
321 | child = child->next; | 323 | child = child->next; |
322 | continue; | 324 | continue; |
323 | } | 325 | } |
326 | #if defined(HAVE_LCD_BITMAP) || defined(HAVE_ALBUMART) | ||
324 | token = (struct wps_token *)child->data; | 327 | token = (struct wps_token *)child->data; |
328 | #endif | ||
325 | #ifdef HAVE_LCD_BITMAP | 329 | #ifdef HAVE_LCD_BITMAP |
326 | /* clear all pictures in the conditional and nested ones */ | 330 | /* clear all pictures in the conditional and nested ones */ |
327 | if (token->type == SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY) | 331 | if (token->type == SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY) |