[U-Boot] [Patch] Fix compiler warning vcxk

Jens Scharsig esw at bus-elektronik.de
Mon Jul 27 15:28:42 CEST 2009


My new video driver vcxk produce a compiler warning.

I'm sorry about this.

This patch will 

* FIX: bus_vcxk.c:383: warning: unused variable 'lineptr'

Signed-off-by: Jens Scharsig <esw at bus-elektronik.de>
---

diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c
index b3b53e1..7726bb3 100644
--- a/drivers/video/bus_vcxk.c
+++ b/drivers/video/bus_vcxk.c
@@ -380,7 +380,6 @@ int vcxk_display_bitmap(ulong addr, int x, int y)
 	unsigned long c_width;
 	unsigned long c_height;
 	unsigned char *dataptr;
-	unsigned char *lineptr;
 
 	bmp = (bmp_image_t *) addr;
 	if ((bmp->header.signature[0] == 'B') &&



More information about the U-Boot mailing list