diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dbUtils.c | 20 | ||||
-rw-r--r-- | src/dbUtils.h | 2 |
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 |