From e9622d4d63f14dba9cdeb82ffde766f769aea609 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 23 Oct 2024 11:14:23 +0000 Subject: [PATCH] cli: progress: Remove another unused function Signed-off-by: Michael Tremer --- src/cli/lib/progressbar.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/cli/lib/progressbar.c b/src/cli/lib/progressbar.c index 9eda9ff38..5472c0141 100644 --- a/src/cli/lib/progressbar.c +++ b/src/cli/lib/progressbar.c @@ -286,13 +286,6 @@ static int cli_progressbar_add_widget(struct cli_progressbar* p, return 0; } -static ssize_t cli_progressbar_string(struct cli_progressbar* p, - struct cli_progressbar_widget* widget, unsigned int width, void* data) { - widget->buffer = data; - - return strlen(widget->buffer); -} - static ssize_t cli_progressbar_title(struct cli_progressbar* p, struct cli_progressbar_widget* widget, unsigned int width, void* data) { const char* title = NULL; -- 2.47.2