Commit 1ed5bd8d authored by Sam Lantinga's avatar Sam Lantinga

Removed unused variables

parent 125e5685
...@@ -385,8 +385,6 @@ static int ...@@ -385,8 +385,6 @@ static int
SDL_ResizeVideoMode(int width, int height, int bpp, Uint32 flags) SDL_ResizeVideoMode(int width, int height, int bpp, Uint32 flags)
{ {
int w, h; int w, h;
Uint32 format;
int access;
/* We can't resize something we don't have... */ /* We can't resize something we don't have... */
if (!SDL_VideoWindow) { if (!SDL_VideoWindow) {
...@@ -448,7 +446,6 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags) ...@@ -448,7 +446,6 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
int window_y = SDL_WINDOWPOS_UNDEFINED; int window_y = SDL_WINDOWPOS_UNDEFINED;
Uint32 window_flags; Uint32 window_flags;
Uint32 surface_flags; Uint32 surface_flags;
Uint32 i;
if (!SDL_GetVideoDevice()) { if (!SDL_GetVideoDevice()) {
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) { if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) < 0) {
...@@ -711,7 +708,6 @@ void ...@@ -711,7 +708,6 @@ void
SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects) SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
{ {
int i; int i;
SDL_Rect rect;
if (screen == SDL_ShadowSurface) { if (screen == SDL_ShadowSurface) {
for (i = 0; i < numrects; ++i) { for (i = 0; i < numrects; ++i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment