Removed unused internal function.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 14 Jul 2013 14:32:26 +0200
changeset 7445 bf50f0b74811
parent 7444 3b9b7bcee64f
child 7446 6cbb6aaedc20
Removed unused internal function. Found by Cppcheck.
src/video/x11/SDL_x11window.c
--- a/src/video/x11/SDL_x11window.c	Sun Jul 14 13:33:54 2013 +0200
+++ b/src/video/x11/SDL_x11window.c	Sun Jul 14 14:32:26 2013 +0200
@@ -1031,13 +1031,6 @@
     XFlush(display);
 }
 
-static __inline__ int
-maxint(const int a, const int b)
-{
-    return (a > b ? a : b);
-}
-
-
 /* This handles fullscreen itself, outside the Window Manager. */
 static void
 X11_BeginWindowFullscreenLegacy(_THIS, SDL_Window * window, SDL_VideoDisplay * _display)