about summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index 33275b5..bc37558 100644
--- a/xutil.c
+++ b/xutil.c
@@ -311,7 +311,7 @@ xu_ewmh_get_net_wm_state(struct client_ctx *cc, int *n)
 		return (NULL);
 
 	state = xcalloc(*n, sizeof(Atom));
-	memcpy(state, p, *n * sizeof(Atom));
+	(void)memcpy(state, p, *n * sizeof(Atom));
 	XFree((char *)p);
 
 	return (state);