From 2144ded579c70bb38f40499c2f5e3e508f283af9 Mon Sep 17 00:00:00 2001 From: Link Mauve Date: Sat, 30 Nov 2019 22:16:22 +0000 Subject: [PATCH] xwayland: Remove unused variable --- xwayland/window-manager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 49dbbddd..80b13d6b 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -404,7 +404,6 @@ dump_cardinal_array(FILE *fp, xcb_get_property_reply_t *reply) { unsigned i = 0; void *arr; - char *str = NULL; assert(reply->type == XCB_ATOM_CARDINAL); @@ -415,8 +414,6 @@ dump_cardinal_array(FILE *fp, xcb_get_property_reply_t *reply) i = dump_cardinal_array_elem(fp, reply->format, arr, reply->value_len, i); fprintf(fp, "]"); - - free(str); } void