about summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2013-12-17 16:12:18 +0000
committerokan <okan>2013-12-17 16:12:18 +0000
commitb387351df1593020665df5e5ee5d86d16ad8b7d6 (patch)
tree2d577eef9616b93d2ca34c840fb507a6715f6912 /xutil.c
parent291e0dc088364c1218b12635d5dcfbc200a91c46 (diff)
parent9b8dc1ba7f9af194a19f7cd1c34bfa051250cc18 (diff)
downloadcwm-b387351df1593020665df5e5ee5d86d16ad8b7d6.tar.gz
cwm-b387351df1593020665df5e5ee5d86d16ad8b7d6.tar.xz
cwm-b387351df1593020665df5e5ee5d86d16ad8b7d6.zip
cvsimport
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);