From: John Lindgren Date: Sun, 7 Dec 2025 05:10:57 +0000 (-0500) Subject: osd-classic: remove unused variable (buf) X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=1b22bf3d5a3de94cb2a89a728b76319ec71c39b5;p=proto%2Flabwc.git osd-classic: remove unused variable (buf) --- diff --git a/src/cycle/osd-classic.c b/src/cycle/osd-classic.c index 67cfb8db..9acf3064 100644 --- a/src/cycle/osd-classic.c +++ b/src/cycle/osd-classic.c @@ -144,7 +144,6 @@ cycle_osd_classic_create(struct output *output) y += switcher_theme->item_height; } - struct buf buf = BUF_INIT; int nr_fields = wl_list_length(&rc.window_switcher.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; } - buf_reset(&buf); error:; /* Center OSD */