xwayland: Remove unused variable

This commit is contained in:
Link Mauve 2019-11-30 22:16:22 +00:00 committed by Daniel Stone
parent dd8219b3fb
commit 2144ded579

View file

@ -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