aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-02-08 10:21:15 +0100
committerMax Kellermann <max@duempel.org>2010-02-08 10:21:15 +0100
commit8e34c59c82906529247072704794453bd7bfeab0 (patch)
tree8de0a6f00d407b8f33dcb8c70da393e398affe90 /src/dbUtils.c
parent766b9fd453af163c41bc77aa08fda0988b024d8e (diff)
downloadmpd-8e34c59c82906529247072704794453bd7bfeab0.tar.gz
mpd-8e34c59c82906529247072704794453bd7bfeab0.tar.xz
mpd-8e34c59c82906529247072704794453bd7bfeab0.zip
song_print: song_print() returns void
The only "return" statement always returns 0.
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 858854f28..f950d42cc 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -75,7 +75,7 @@ searchInDirectory(struct song *song, void *_data)
struct search_data *data = _data;
if (locate_song_search(song, data->criteria))
- return song_print_info(data->client, song);
+ song_print_info(data->client, song);
return 0;
}
@@ -105,7 +105,7 @@ findInDirectory(struct song *song, void *_data)
struct search_data *data = _data;
if (locate_song_match(song, data->criteria))
- return song_print_info(data->client, song);
+ song_print_info(data->client, song);
return 0;
}