]> git.ipfire.org Git - pakfire.git/commitdiff
cli: progress: Remove another unused function
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 23 Oct 2024 11:14:23 +0000 (11:14 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 23 Oct 2024 11:14:23 +0000 (11:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/cli/lib/progressbar.c

index 9eda9ff38263098ed9ea90e53b9ab8917b7229e0..5472c01413b58650e4d6a6abae73d1f10b3055d1 100644 (file)
@@ -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;