summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
commit67f215032d8bab2571aad2da739d72512c064ca4 (patch)
treeb39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/mpegplayer/mpegplayer.c
parentab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff)
downloadrockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz
rockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.bz2
rockbox-67f215032d8bab2571aad2da739d72512c064ca4.zip
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index 22136d8393..2a84307857 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -607,7 +607,7 @@ static void draw_oriented_mono_bitmap_part(const unsigned char *src,
{
const unsigned char *src_end;
fb_data *dst, *dst_end;
- unsigned fg_pattern, bg_pattern;
+ unsigned fg_pattern;
if (x + width > SCREEN_WIDTH)
width = SCREEN_WIDTH - x; /* Clip right */
@@ -623,8 +623,8 @@ static void draw_oriented_mono_bitmap_part(const unsigned char *src,
if (height <= 0)
return; /* nothing left to do */
- fg_pattern = rb->lcd_get_foreground();
- bg_pattern = rb->lcd_get_background();
+ fg_pattern = rb->lcd_get_foreground();
+ /*bg_pattern =*/ rb->lcd_get_background();
src += stride * (src_y >> 3) + src_x; /* move starting point */
src_y &= 7;
@@ -719,7 +719,7 @@ static void draw_oriented_alpha_bitmap_part(const unsigned char *src,
int width, int height)
{
fb_data *dst, *dst_start;
- unsigned fg_pattern, bg_pattern;
+ unsigned fg_pattern;
if (x + width > SCREEN_WIDTH)
width = SCREEN_WIDTH - x; /* Clip right */
@@ -738,8 +738,8 @@ static void draw_oriented_alpha_bitmap_part(const unsigned char *src,
/* initialize blending */
BLEND_INIT;
- fg_pattern = rb->lcd_get_foreground();
- bg_pattern = rb->lcd_get_background();
+ fg_pattern = rb->lcd_get_foreground();
+ /*bg_pattern=*/ rb->lcd_get_background();
dst_start = rb->lcd_framebuffer + (LCD_WIDTH - y - 1) + x*LCD_WIDTH;
int col, row = height;