aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-13 19:01:42 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-13 19:01:42 +0000
commit93681d914e1c0a0ebe37cafa243a4f2d15fa5c51 (patch)
treea0dbb642647fcdf6d0d41be08ed6e17b04113aff /src
parent8f37161c34241ef3f4c2f10bb4eb58618ad47482 (diff)
downloadmpd-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.c20
-rw-r--r--src/dbUtils.h2
2 files changed, 0 insertions, 22 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);
-}
diff --git a/src/dbUtils.h b/src/dbUtils.h
index f79894bb6..f223c84e7 100644
--- a/src/dbUtils.h
+++ b/src/dbUtils.h
@@ -47,6 +47,4 @@ int listAllUniqueTags(FILE * fp, int type, int numConditiionals,
void printSavedMemoryFromFilenames();
-void printSavedMemoryFromDirectoryNames();
-
#endif