mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 19:47:12 -04:00
drivers/video/bus_vcxk.c: Fix GCC 4.6 warning
Fix: bus_vcxk.c: In function 'vcxk_display_bitmap': bus_vcxk.c:396:16: warning: variable 'compression' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
6ed076cdda
commit
5dfc9e146a
@ -393,7 +393,6 @@ int vcxk_display_bitmap(ulong addr, int x, int y)
|
|||||||
unsigned long width;
|
unsigned long width;
|
||||||
unsigned long height;
|
unsigned long height;
|
||||||
unsigned long bpp;
|
unsigned long bpp;
|
||||||
unsigned long compression;
|
|
||||||
|
|
||||||
unsigned long lw;
|
unsigned long lw;
|
||||||
|
|
||||||
@ -404,7 +403,6 @@ int vcxk_display_bitmap(ulong addr, int x, int y)
|
|||||||
bmp = (bmp_image_t *) addr;
|
bmp = (bmp_image_t *) addr;
|
||||||
if ((bmp->header.signature[0] == 'B') &&
|
if ((bmp->header.signature[0] == 'B') &&
|
||||||
(bmp->header.signature[1] == 'M')) {
|
(bmp->header.signature[1] == 'M')) {
|
||||||
compression = le32_to_cpu(bmp->header.compression);
|
|
||||||
width = le32_to_cpu(bmp->header.width);
|
width = le32_to_cpu(bmp->header.width);
|
||||||
height = le32_to_cpu(bmp->header.height);
|
height = le32_to_cpu(bmp->header.height);
|
||||||
bpp = le16_to_cpu(bmp->header.bit_count);
|
bpp = le16_to_cpu(bmp->header.bit_count);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user