Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 4, 2011
1 parent 456cb44 commit 86ef610
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/SDL_compat.c
Expand Up @@ -385,8 +385,6 @@ static int
SDL_ResizeVideoMode(int width, int height, int bpp, Uint32 flags)
{
int w, h;
Uint32 format;
int access;

/* We can't resize something we don't have... */
if (!SDL_VideoWindow) {
Expand Down Expand Up @@ -448,7 +446,6 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
int window_y = SDL_WINDOWPOS_UNDEFINED;
Uint32 window_flags;
Uint32 surface_flags;
Uint32 i;

if (!SDL_GetVideoDevice()) {
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) {
Expand Down Expand Up @@ -711,7 +708,6 @@ void
SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
{
int i;
SDL_Rect rect;

if (screen == SDL_ShadowSurface) {
for (i = 0; i < numrects; ++i) {
Expand Down

0 comments on commit 86ef610

Please sign in to comment.