Fix some more compiler warnings on armcc.

This commit is contained in:
Ryan C. Gordon
2017-03-03 16:38:17 -05:00
parent d526b8a1e9
commit ca0bf151d5
8 changed files with 23 additions and 12 deletions

View File

@@ -1317,9 +1317,9 @@ SDL_CalculateBlitA(SDL_Surface * surface)
case 3:
default:
return BlitNtoNPixelAlpha;
break;
}
break;
return BlitNtoNPixelAlpha;
case SDL_COPY_MODULATE_ALPHA | SDL_COPY_BLEND:
if (sf->Amask == 0) {

View File

@@ -124,6 +124,9 @@ SDL_LoadBMP_RW(SDL_RWops * src, int freesrc)
Uint32 biClrUsed = 0;
/* Uint32 biClrImportant = 0; */
(void) haveRGBMasks;
(void) haveAlphaMask;
/* Make sure we are passed a valid data source */
surface = NULL;
was_error = SDL_FALSE;