From 0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 3 Oct 2008 14:30:59 +0200 Subject: screen: don't pass mpdclient pointer to method paint() None of the paint() implementations acutally uses the mpdclient pointer. Remove it from the method signature. --- src/screen_search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/screen_search.c') diff --git a/src/screen_search.c b/src/screen_search.c index 989ac7eaa..bf9278b53 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -122,12 +122,12 @@ lw_search_help_callback(unsigned idx, mpd_unused int *highlight, } static void -paint(mpdclient_t *c); +paint(void); static void search_repaint(void) { - paint(NULL); + paint(); wrefresh(browser.lw->w); } @@ -378,7 +378,7 @@ resize(int cols, int rows) } static void -paint(mpd_unused mpdclient_t *c) +paint(void) { if (browser.filelist) { browser.lw->flags = 0; -- cgit v1.2.3