diff options
author | Max Kellermann <max@duempel.org> | 2008-09-18 00:58:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-18 00:58:40 +0200 |
commit | 76c97b279206dbfb75da9047a62e6fcbe20ad64c (patch) | |
tree | 494596c6cf86f3e4c9089baa3aad65fedf77fe43 /src/screen_file.c | |
parent | 8ef5bed9479924849c6bbbd3f0e49870b1db481f (diff) | |
download | mpd-76c97b279206dbfb75da9047a62e6fcbe20ad64c.tar.gz mpd-76c97b279206dbfb75da9047a62e6fcbe20ad64c.tar.xz mpd-76c97b279206dbfb75da9047a62e6fcbe20ad64c.zip |
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.
Diffstat (limited to 'src/screen_file.c')
-rw-r--r-- | src/screen_file.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index 7fd86f645..7465ff125 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -590,11 +590,6 @@ browse_open(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) } } -static void -browse_close(void) -{ -} - static const char * browse_title(char *str, size_t size) { @@ -748,7 +743,6 @@ const struct screen_functions screen_browse = { .init = browse_init, .exit = browse_exit, .open = browse_open, - .close = browse_close, .resize = browse_resize, .paint = browse_paint, .update = browse_update, |