From d2348f6e676542807718ec21c2eafa69963348a5 Mon Sep 17 00:00:00 2001
From: David Maciejak <david.maciejak@gmail.com>
Date: Thu, 14 Aug 2014 11:59:48 +0700
Subject: [PATCH] wmaker: fix moveres.c compilation warning

This patch is fixing compilation issue as variable 'dx'
is not used in getResizeDirection function
---
 src/moveres.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/moveres.c b/src/moveres.c
index 3d707d7..6645b22 100644
--- a/src/moveres.c
+++ b/src/moveres.c
@@ -1803,6 +1803,7 @@ static int getResizeDirection(WWindow * wwin, int x, int y, int dx, int dy, int
 	int w = wwin->frame->core->width - 1;
 	int cw = wwin->frame->resizebar_corner_width;
 	int dir;
+	(void) dx;
 
 	/* if not resizing through the resizebar */
 	if (!(flags & RESIZEBAR)) {
-- 
1.8.3.2

