From: Mikael Magnusson Date: Fri, 19 Feb 2010 21:19:47 +0000 (+0100) Subject: Unused variables in resist_size_monitors() X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c8bdb80c23e7967726ba8c51019fae6eb9b59b97;p=mikachu%2Fopenbox.git Unused variables in resist_size_monitors() --- diff --git a/openbox/resist.c b/openbox/resist.c index 91eabcb0..9b785a3a 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -330,7 +330,6 @@ void resist_size_monitors(ObClient *c, gint resist, gint *w, gint *h, Rect *area, *parea; gint al, at, ar, ab; /* screen boundaries */ gint pl, pt, pr, pb; /* physical screen boundaries */ - gint incw, inch; guint i; Rect desired_area; @@ -341,9 +340,6 @@ void resist_size_monitors(ObClient *c, gint resist, gint *w, gint *h, t = RECT_TOP(c->frame->area); b = RECT_BOTTOM(c->frame->area); - incw = c->size_inc.width; - inch = c->size_inc.height; - RECT_SET(desired_area, c->area.x, c->area.y, *w, *h); for (i = 0; i < screen_num_monitors; ++i) {