aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/songvec.c')
-rw-r--r--src/songvec.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/songvec.c b/src/songvec.c
index 613c448cf..dfab51451 100644
--- a/src/songvec.c
+++ b/src/songvec.c
@@ -73,17 +73,6 @@ void songvec_add(struct songvec *sv, struct mpd_song *add)
pthread_mutex_unlock(&nr_lock);
}
-void songvec_destroy(struct songvec *sv)
-{
- pthread_mutex_lock(&nr_lock);
- sv->nr = 0;
- pthread_mutex_unlock(&nr_lock);
- if (sv->base) {
- free(sv->base);
- sv->base = NULL;
- }
-}
-
int songvec_for_each(const struct songvec *sv,
int (*fn)(struct mpd_song *, void *), void *arg)
{