From a5fc85c5398e744c45e1395e7f980c8b9ec24156 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 27 Sep 2012 14:38:56 -0700 Subject: [PATCH] Removed unused variables --- src/video/x11/SDL_x11window.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index 8c83675d2..9512c3c0c 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -991,8 +991,6 @@ X11_BeginWindowFullscreenLegacy(_THIS, SDL_Window * window, SDL_VideoDisplay * _ const int screen = displaydata->screen; Window root = RootWindow(display, screen); const int def_vis = (visual == DefaultVisual(display, screen)); - const int w = maxint(window->w, _display->current_mode.w); - const int h = maxint(window->h, _display->current_mode.h); unsigned long xattrmask = 0; XSetWindowAttributes xattr; XEvent ev;