From 28d39948d72b8c26b2863a167149c2c2ca232062 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 23 Sep 2008 22:37:33 +0200 Subject: 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. --- src/song_save.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/song_save.c') 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); } -- cgit v1.2.3