From fb1eded8a8f47f5fc932dfc401cfd341767cf76f Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Wed, 24 Apr 2019 20:28:21 +0100 Subject: [PATCH] Remove duplicate case value --- src/video/SDL_bmp.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c index b457fa6b5..da4e4ab21 100644 --- a/src/video/SDL_bmp.c +++ b/src/video/SDL_bmp.c @@ -222,14 +222,6 @@ SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc) break; } break; - case 2: - case 3: - case 5: - case 6: - case 7: - SDL_SetError("%d-bpp BMP images are not supported", biBitCount); - was_error = SDL_TRUE; - goto done; default: SDL_SetError("Compressed BMP files not supported"); was_error = SDL_TRUE;