aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r--src/dbUtils.c20
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);
-}