From b0c25f28ed61df27c2b987324a3929948ca6926c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 26 Mar 2023 12:01:32 +0300 Subject: [PATCH 09/12] sdl2: Fix dead assignment in __FillRectAlpha565() See osdn #47678 Signed-off-by: Marko Lindqvist --- client/gui-sdl2/graphics.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/gui-sdl2/graphics.c b/client/gui-sdl2/graphics.c index 1bda64af20..688c6b4a98 100644 --- a/client/gui-sdl2/graphics.c +++ b/client/gui-sdl2/graphics.c @@ -768,7 +768,6 @@ static int __FillRectAlpha565(SDL_Surface *pSurface, SDL_Rect *pRect, start = pixel; } } else { - y = 0; S = (S | S << 16) & 0x07e0f81f; y = pRect->h; end = pRect->w; -- 2.39.2