src/video/SDL_bmp.c
branchSDL-1.2
changeset 6227 e11fd9609d10
parent 6137 4720145f848b
child 12611 19d8c3b9c251
     1.1 --- a/src/video/SDL_bmp.c	Wed Jan 18 03:36:47 2012 -0500
     1.2 +++ b/src/video/SDL_bmp.c	Wed Jan 18 12:17:16 2012 -0500
     1.3 @@ -132,6 +132,17 @@
     1.4  		biClrUsed	= SDL_ReadLE32(src);
     1.5  		biClrImportant	= SDL_ReadLE32(src);
     1.6  	}
     1.7 +
     1.8 +	/* stop some compiler warnings. */
     1.9 +	(void) bfSize;
    1.10 +	(void) bfReserved1;
    1.11 +	(void) bfReserved2;
    1.12 +	(void) biPlanes;
    1.13 +	(void) biSizeImage;
    1.14 +	(void) biXPelsPerMeter;
    1.15 +	(void) biYPelsPerMeter;
    1.16 +	(void) biClrImportant;
    1.17 +
    1.18  	if (biHeight < 0) {
    1.19  		topDown = SDL_TRUE;
    1.20  		biHeight = -biHeight;