From: Michael Tremer Date: Wed, 23 Oct 2024 11:14:23 +0000 (+0000) Subject: cli: progress: Remove another unused function X-Git-Tag: 0.9.30~926 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9622d4d63f14dba9cdeb82ffde766f769aea609;p=pakfire.git cli: progress: Remove another unused function Signed-off-by: Michael Tremer --- 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;