From 4b7f889174bb129c77c828efac76813bf82472be Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Oct 2009 19:40:43 +0200 Subject: [PATCH] screen: removed unused function volume_length() --- src/screen.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/screen.c b/src/screen.c index d9e7fdb..34330ff 100644 --- a/src/screen.c +++ b/src/screen.c @@ -142,18 +142,6 @@ screen_next_mode(struct mpdclient *c, int offset) screen_switch(sf, c); } -static inline int -volume_length(int volume) -{ - if (volume == 100) - return 3; - if (volume >= 10 && volume < 100) - return 2; - if (volume >= 0 && volume < 10) - return 1; - return -1; -} - static void paint_top_window(const char *header, const struct mpdclient *c) { -- 2.30.2