From 76c97b279206dbfb75da9047a62e6fcbe20ad64c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 18 Sep 2008 00:58:40 +0200 Subject: screen: removed empty methods Declaring empty methods is of no use. If a method is empty, we should set it to NULL in the screen_functions struct. --- src/screen_artist.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/screen_artist.c') diff --git a/src/screen_artist.c b/src/screen_artist.c index fb10afc3c..0798210b5 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -228,11 +228,6 @@ resize(int cols, int rows) lw->rows = rows; } -static void -close(void) -{ -} - static void paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) { @@ -461,7 +456,6 @@ const struct screen_functions screen_artist = { .init = init, .exit = quit, .open = open, - .close = close, .resize = resize, .paint = paint, .update = update, -- cgit v1.2.3