From 07a2b99f7fbf1ece6833053cf9fcdcde4f1823b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Pe=C3=B1acoba?= Date: Sat, 25 Mar 2017 16:42:38 +0100 Subject: [PATCH] desktop-shell: Remove unused variable in panel_create MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raúl Peñacoba Reviewed-by: Quentin Glidic --- clients/desktop-shell.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c index 2667e9bb..599295ee 100644 --- a/clients/desktop-shell.c +++ b/clients/desktop-shell.c @@ -591,7 +591,6 @@ panel_create(struct desktop *desktop) { struct panel *panel; struct weston_config_section *s; - char *clock_format_option = NULL; panel = xzalloc(sizeof *panel); @@ -611,8 +610,6 @@ panel_create(struct desktop *desktop) if (panel->clock_format != CLOCK_FORMAT_NONE) panel_add_clock(panel); - free (clock_format_option); - s = weston_config_get_section(desktop->config, "shell", NULL, NULL); weston_config_section_get_color(s, "panel-color", &panel->color, 0xaa000000);