aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-22 02:09:16 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-22 02:10:05 -0700
commit88424d256390e9c8aad24ed185381dc1297f51d5 (patch)
treee7224d19f903207328fe5cbee2d7cee4eb4c3bef /src/song.c
parentada24f9a921ff95d874195acf253b5a9dd12213d (diff)
downloadmpd-88424d256390e9c8aad24ed185381dc1297f51d5.tar.gz
mpd-88424d256390e9c8aad24ed185381dc1297f51d5.tar.xz
mpd-88424d256390e9c8aad24ed185381dc1297f51d5.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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/song.c b/src/song.c
index 9be586281..abf8f348b 100644
--- a/src/song.c
+++ b/src/song.c
@@ -234,8 +234,6 @@ void readSongInfoIntoList(FILE * fp, Directory * parentDir)
if (song)
insertSongIntoList(sv, song);
- if (isUpdatingDB()) /* only needed until we get rid of forked update */
- songvec_prune(sv);
}
int updateSongInfo(Song * song)