From ac59669d460397b628f08dfcc7b6df6eec272091 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 17 Sep 2017 15:13:52 +0200 Subject: 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 --- firmware/asm/lcd-as-memframe.c | 2 -- 1 file changed, 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; -- cgit v1.2.3