Remove a couple more unused functions
git-svn-id: https://svn.musicpd.org/mpd/trunk@4315 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
8f37161c34
commit
93681d914e
@ -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);
|
||||
}
|
||||
|
@ -47,6 +47,4 @@ int listAllUniqueTags(FILE * fp, int type, int numConditiionals,
|
||||
|
||||
void printSavedMemoryFromFilenames();
|
||||
|
||||
void printSavedMemoryFromDirectoryNames();
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user