Remove two unused variables, causing compiler warnings.
authorBrandon Schaefer <brandon.schaefer@canonical.com>
Tue, 25 Mar 2014 15:18:18 -0700
changeset 8681 b03d6a506750
parent 8680 eb1281b43b5d
child 8682 a31313cfa891
Remove two unused variables, causing compiler warnings.
src/video/x11/SDL_x11events.c
--- a/src/video/x11/SDL_x11events.c	Tue Mar 25 14:33:34 2014 -0700
+++ b/src/video/x11/SDL_x11events.c	Tue Mar 25 15:18:18 2014 -0700
@@ -560,9 +560,7 @@
                    xevent.xconfigure.width, xevent.xconfigure.height);
 #endif
             long border_left = 0;
-            long border_right = 0;
             long border_top = 0;
-            long border_bottom = 0;
             if (data->xwindow) {
                 Atom _net_frame_extents = X11_XInternAtom(display, "_NET_FRAME_EXTENTS", 0);
                 Atom type = None;
@@ -577,9 +575,7 @@
                 if (type != None && nitems == 4)
                 {
                     border_left = ((long*)property)[0];
-                    border_right = ((long*)property)[1];
                     border_top = ((long*)property)[2];
-                    border_bottom = ((long*)property)[3];
                 }
             }