diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-23 20:48:33 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-23 20:48:33 +0200 |
commit | afe6ce7210be330eefb0e8f18f2b6787bf052087 (patch) | |
tree | ab667f14ad299f7314c91cdb9fba66c534fd4ba0 /src/directory.c | |
parent | 27fad52c6bb1d8803f400a6e95fa5c24396a1c12 (diff) | |
download | mpd-afe6ce7210be330eefb0e8f18f2b6787bf052087.tar.gz mpd-afe6ce7210be330eefb0e8f18f2b6787bf052087.tar.xz mpd-afe6ce7210be330eefb0e8f18f2b6787bf052087.zip |
directory: remove unused updateMp3Directory() function
It hasn't been used in many years
commit 3a89afdd80f228139554372a83a9d74486acf691
Author: Warren Dukes <warren.dukes@gmail.com>
Date: Sat Nov 20 20:28:32 2004 +0000
remove --update-db option
(SVN r2719)
Diffstat (limited to '')
-rw-r--r-- | src/directory.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/directory.c b/src/directory.c index 0fec43387..14d1a5b55 100644 --- a/src/directory.c +++ b/src/directory.c @@ -1135,24 +1135,6 @@ int readDirectoryDB(void) return 0; } -void updateMp3Directory(void) -{ - switch (updateDirectory(mp3rootDirectory)) { - case 0: - /* nothing updated */ - return; - case 1: - if (writeDirectoryDB() < 0) - exit(EXIT_FAILURE); - break; - default: - /* something was updated and db should be written */ - FATAL("problems updating music db\n"); - } - - return; -} - static int traverseAllInSubDirectory(Directory * directory, int (*forEachSong) (Song *, void *), int (*forEachDir) (Directory *, void *), |