desktop-shell: Remove unused variable in panel_create

Signed-off-by: Raúl Peñacoba <raul.mikaop.zelda@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
dev
Raúl Peñacoba 8 years ago committed by Quentin Glidic
parent ed016bff23
commit 07a2b99f7f
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
  1. 3
      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);

Loading…
Cancel
Save