summaryrefslogtreecommitdiffstats
path: root/firmware/asm
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 15:13:52 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 15:13:52 +0200
commitac59669d460397b628f08dfcc7b6df6eec272091 (patch)
tree9f8471765479fa28a656ba8a00e77b957cce152c /firmware/asm
parent3b7263be2d0576d96df88659866b4357108030ed (diff)
downloadrockbox-ac59669d460397b628f08dfcc7b6df6eec272091.tar.gz
rockbox-ac59669d460397b628f08dfcc7b6df6eec272091.tar.bz2
rockbox-ac59669d460397b628f08dfcc7b6df6eec272091.zip
fix warning in lcd-as-memframe.c
The fix is to actually remove unused variables. Those were unused from day 1, which I find slightly suspicious so either there is some problem or the code was copy-pasted and modified, making some variables useless. Change-Id: I41caf52d469b48c969ece969540de67d87e77357
Diffstat (limited to 'firmware/asm')
-rw-r--r--firmware/asm/lcd-as-memframe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/asm/lcd-as-memframe.c b/firmware/asm/lcd-as-memframe.c
index 3734c7d13a..fb31fa1953 100644
--- a/firmware/asm/lcd-as-memframe.c
+++ b/firmware/asm/lcd-as-memframe.c
@@ -33,12 +33,10 @@ extern void lcd_write_yuv420_lines(fb_data *dst,
/* Draw a partial YUV colour bitmap - similiar behavior to lcd_blit_yuv
in the core */
const unsigned char *ysrc, *usrc, *vsrc;
- int height = 2, linecounter;
fb_data *row_end;
/* width and height must be >= 2 and an even number */
width &= ~1;
- linecounter = height >> 1;
#if LCD_WIDTH >= LCD_HEIGHT
row_end = dst + width;