瀏覽代碼

video: Removed unused variables.

Ryan C. Gordon 5 年之前
父節點
當前提交
9f636be8c0
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/video/SDL_fillrect.c

+ 0 - 3
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");
     }