Remove unused variable (fixes warning)

This commit is contained in:
Michael Stapelberg 2009-03-13 11:20:21 +01:00
parent 1a377d2af0
commit 4ad1edc5eb
1 changed files with 0 additions and 1 deletions

View File

@ -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 */ /* Save the old pointer to make the update atomic */
char *new_name; char *new_name;
int new_len;
asprintf(&new_name, "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop)); 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 */ /* 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); LOG("Name should change to \"%s\"\n", new_name);