aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 00:58:40 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 00:58:40 +0200
commit76c97b279206dbfb75da9047a62e6fcbe20ad64c (patch)
tree494596c6cf86f3e4c9089baa3aad65fedf77fe43 /src/screen_search.c
parent8ef5bed9479924849c6bbbd3f0e49870b1db481f (diff)
downloadmpd-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_search.c')
-rw-r--r--src/screen_search.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index ce23b9098..d1b2b92d5 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -401,11 +401,6 @@ resize(int cols, int rows)
lw->rows = rows;
}
-static void
-close(void)
-{
-}
-
static void
paint(mpd_unused screen_t *screen, mpdclient_t *c)
{
@@ -536,7 +531,6 @@ const struct screen_functions screen_search = {
.init = init,
.exit = quit,
.open = open,
- .close = close,
.resize = resize,
.paint = paint,
.update = update,