diff options
author | Avuton Olrich <avuton@gmail.com> | 2006-07-13 19:01:42 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2006-07-13 19:01:42 +0000 |
commit | 93681d914e1c0a0ebe37cafa243a4f2d15fa5c51 (patch) | |
tree | a0dbb642647fcdf6d0d41be08ed6e17b04113aff /src/dbUtils.c | |
parent | 8f37161c34241ef3f4c2f10bb4eb58618ad47482 (diff) | |
download | mpd-93681d914e1c0a0ebe37cafa243a4f2d15fa5c51.tar.gz mpd-93681d914e1c0a0ebe37cafa243a4f2d15fa5c51.tar.xz mpd-93681d914e1c0a0ebe37cafa243a4f2d15fa5c51.zip |
Remove a couple more unused functions
git-svn-id: https://svn.musicpd.org/mpd/trunk@4315 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/dbUtils.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c index ac3c6eabf..e26ceb43f 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -400,24 +400,4 @@ void printSavedMemoryFromFilenames() { DEBUG("saved memory from filenames: %i\n", sum); } -static int sumSavedDirectoryNameMemoryInDirectory(FILE * fp, Directory * dir, void * data) { - int * sum = data; - - if(!dir->path) return 0; - - *sum += (strlen(getDirectoryPath(dir))+1)* - dir->subDirectories->numberOfNodes; - - *sum += strlen(dir->path)+1; - - return 0; -} - -static void printSavedMemoryFromDirectoryNames() { - int sum = 0; - - traverseAllIn(stderr, NULL, NULL, - sumSavedDirectoryNameMemoryInDirectory, (void *)&sum); - DEBUG("saved memory from directory names: %i\n", sum); -} |