From da2bea3ffac03b74709fa4d9d3f12582f1912917 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 17 Dec 2013 16:10:43 +0000 Subject: replace with memset --- xutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xutil.c') diff --git a/xutil.c b/xutil.c index c2c7834..5689e8b 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); -- cgit 1.4.1