From 4ad1edc5eb13f09f14459243f2f06c3b4d25ac74 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 13 Mar 2009 11:20:21 +0100 Subject: [PATCH] Remove unused variable (fixes warning) --- src/handlers.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index ef28ae7c..a15d726e 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -648,7 +648,6 @@ int handle_windowname_change_legacy(void *data, xcb_connection_t *conn, uint8_t /* Save the old pointer to make the update atomic */ char *new_name; - int new_len; asprintf(&new_name, "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop)); /* Convert it to UCS-2 here for not having to convert it later every time we want to pass it to X */ LOG("Name should change to \"%s\"\n", new_name); -- 2.39.5