Commit 9f636be8c04f86e709b731e1bd5f1a00572b988c

Ryan C. Gordon 2019-10-15T14:04:43

video: Removed unused variables.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/SDL_fillrect.c b/src/video/SDL_fillrect.c
index 4b870f9..dbea4a2 100644
--- a/src/video/SDL_fillrect.c
+++ b/src/video/SDL_fillrect.c
@@ -236,9 +236,6 @@ SDL_FillRect4(Uint8 * pixels, int pitch, Uint32 color, int w, int h)
 int
 SDL_FillRect(SDL_Surface * dst, const SDL_Rect * rect, Uint32 color)
 {
-    SDL_Rect clipped;
-    Uint8 *pixels;
-
     if (!dst) {
         return SDL_SetError("Passed NULL destination surface");
     }