diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-17 15:13:52 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-09-17 15:13:52 +0200 |
commit | ac59669d460397b628f08dfcc7b6df6eec272091 (patch) | |
tree | 9f8471765479fa28a656ba8a00e77b957cce152c /firmware/asm/lcd-as-memframe.c | |
parent | 3b7263be2d0576d96df88659866b4357108030ed (diff) |
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/lcd-as-memframe.c')
-rw-r--r-- | firmware/asm/lcd-as-memframe.c | 2 |
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; |