source/src/video/SDL_bmp.c
@@ -1,6 +1,6 @@ /* Simple DirectMedia Layer Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -124,6 +124,9 @@ 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;