From 1b22bf3d5a3de94cb2a89a728b76319ec71c39b5 Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Sun, 7 Dec 2025 00:10:57 -0500 Subject: [PATCH] osd-classic: remove unused variable (buf) --- src/cycle/osd-classic.c | 2 -- 1 file changed, 2 deletions(-) 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 */