[Xfce4-commits] <xfwm4:master> Cleanup set but unused variables

Olivier Fourdan noreply at xfce.org
Tue Oct 25 18:32:01 CEST 2011


Updating branch refs/heads/master
         to add1dd2b8b14bf54ad67b41a28de061bb70bc26f (commit)
       from 128566aaa89ce81ab629896716f1064720c37865 (commit)

commit add1dd2b8b14bf54ad67b41a28de061bb70bc26f
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Tue Oct 25 18:20:44 2011 +0200

    Cleanup set but unused variables

 src/moveresize.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/moveresize.c b/src/moveresize.c
index 1126357..e23cd4c 100644
--- a/src/moveresize.c
+++ b/src/moveresize.c
@@ -854,8 +854,7 @@ clientMoveEventFilter (XEvent * xevent, gpointer data)
                 /* to keep the distance from the edges of the window proportional. */
                 double xratio;
 
-                xratio = (xevent->xmotion.x_root - c->x)/(double)c->width;
-
+                xratio = (xevent->xmotion.x_root - c->x) / (double)c->width;
                 clientToggleMaximized (c, CLIENT_FLAG_MAXIMIZED, FALSE);
                 passdata->move_resized = TRUE;
                 passdata->ox = c->x;
@@ -1169,8 +1168,7 @@ clientResizeEventFilter (XEvent * xevent, gpointer data)
     eventFilterStatus status;
     int prev_x, prev_y, prev_width, prev_height;
     int cx, cy, disp_x, disp_y, disp_max_x, disp_max_y;
-    int frame_x, frame_y, frame_height, frame_width;
-    int frame_top;
+    int frame_x, frame_y, frame_height, frame_width, frame_top;
     int move_top, move_bottom, move_left, move_right;
     int temp;
     gint min_visible;


More information about the Xfce4-commits mailing list