Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 wrlib/xutil.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wrlib/xutil.c b/wrlib/xutil.c
index 1c3f86d..8e90333 100644
--- a/wrlib/xutil.c
+++ b/wrlib/xutil.c
@@ -154,6 +154,9 @@ RXImage *RCreateXImage(RContext * context, int depth, 
unsigned width, unsigned h
 void RDestroyXImage(RContext * context, RXImage * rximage)
 {
 #ifndef USE_XSHM
+       /* Argument is not used in this case, tell the compiler it is ok */
+       (void) context;
+
        XDestroyImage(rximage->image);
 #else                          /* USE_XSHM */
        if (rximage->is_shared) {
-- 
2.1.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to