mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-22 05:50:46 +02:00
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>
This commit is contained in:
parent
ed016bff23
commit
07a2b99f7f
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue