aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_save.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-23 22:37:33 +0200
committerMax Kellermann <max@duempel.org>2008-09-23 22:37:33 +0200
commit28d39948d72b8c26b2863a167149c2c2ca232062 (patch)
tree3c6663974d462acf21c3ce3dbe83309a94fab694 /src/song_save.c
parent3f0ae13c4b409bcf39d926f5e73d5eb0feff6eb3 (diff)
downloadmpd-28d39948d72b8c26b2863a167149c2c2ca232062.tar.gz
mpd-28d39948d72b8c26b2863a167149c2c2ca232062.tar.xz
mpd-28d39948d72b8c26b2863a167149c2c2ca232062.zip
songvec: remove songvec_prune
Any pruned files will be noticed during update and pruned from the live database, so this inefficient function can go away and never come back.
Diffstat (limited to '')
-rw-r--r--src/song_save.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/song_save.c b/src/song_save.c
index 27cfcd8e6..cc5e4e4dd 100644
--- a/src/song_save.c
+++ b/src/song_save.c
@@ -149,7 +149,4 @@ void readSongInfoIntoList(FILE *fp, struct songvec *sv,
if (song)
insertSongIntoList(sv, song);
-
- if (isUpdatingDB()) /* only needed until we get rid of forked update */
- songvec_prune(sv);
}