From 4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 22 Sep 2010 14:19:28 +0200 Subject: Remove compiler warnings when building the emulator. This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f --- distrib/sdl-1.2.12/src/video/x11/SDL_x11wm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'distrib') diff --git a/distrib/sdl-1.2.12/src/video/x11/SDL_x11wm.c b/distrib/sdl-1.2.12/src/video/x11/SDL_x11wm.c index fe7e9ac..76706b3 100644 --- a/distrib/sdl-1.2.12/src/video/x11/SDL_x11wm.c +++ b/distrib/sdl-1.2.12/src/video/x11/SDL_x11wm.c @@ -334,7 +334,6 @@ int X11_IconifyWindow(_THIS) static void set_window_pos_nolock(_THIS, int x, int y) { - XWindowAttributes attr; int xNew, yNew; Window child; int xAdjust = X11_wmXAdjust; @@ -394,7 +393,6 @@ void X11_GetWindowPos(_THIS, int *px, int *py) SDL_Lock_EventThread(); { Window child; - Status ret; XTranslateCoordinates( SDL_Display, WMwindow, SDL_Root, 0, 0, px, py, &child ); } -- cgit v1.1