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
This commit is contained in:
parent
3b7263be2d
commit
ac59669d46
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue