]> git.mdlowis.com Git - proto/labwc.git/commitdiff
osd-classic: remove unused variable (buf)
authorJohn Lindgren <john@jlindgren.net>
Sun, 7 Dec 2025 05:10:57 +0000 (00:10 -0500)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sun, 7 Dec 2025 05:55:32 +0000 (14:55 +0900)
src/cycle/osd-classic.c

index 67cfb8db338cf18f2410c6f5a47b665a32c6518b..9acf3064aed2b81c754ea47c70699d7b3cd14ea3 100644 (file)
@@ -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 */