osd-classic: remove unused variable (buf)

This commit is contained in:
John Lindgren 2025-12-07 00:10:57 -05:00
parent 2d12fa4dcb
commit aa4f013a21

View file

@ -144,7 +144,6 @@ cycle_osd_classic_create(struct output *output)
y += switcher_theme->item_height; y += switcher_theme->item_height;
} }
struct buf buf = BUF_INIT;
int nr_fields = wl_list_length(&rc.window_switcher.fields); int nr_fields = wl_list_length(&rc.window_switcher.fields);
/* This is the width of the area available for text fields */ /* This is the width of the area available for text fields */
@ -216,7 +215,6 @@ cycle_osd_classic_create(struct output *output)
y += switcher_theme->item_height; y += switcher_theme->item_height;
} }
buf_reset(&buf);
error:; error:;
/* Center OSD */ /* Center OSD */