From: Michael Stapelberg Date: Fri, 13 Mar 2009 10:20:21 +0000 (+0100) Subject: Remove unused variable (fixes warning) X-Git-Tag: 3.a~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ad1edc5eb13f09f14459243f2f06c3b4d25ac74;p=i3%2Fi3 Remove unused variable (fixes warning) --- 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);