From 26447de0ce7130d798ea5742b90c002a62de01e7 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Thu, 13 Jul 2006 19:40:14 +0000 Subject: [PATCH] whoops, I don't know how that snuck into the last diff git-svn-id: https://svn.musicpd.org/mpd/trunk@4319 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/dbUtils.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/dbUtils.c b/src/dbUtils.c index 09e7e0968..c8a0dc81e 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -409,4 +409,11 @@ static int sumSavedFilenameMemoryInSong(FILE * fp, Song * song, void * data) { return 0; } +void printSavedMemoryFromFilenames() { + int sum = 0; + traverseAllIn(stderr, NULL, sumSavedFilenameMemoryInSong, + sumSavedFilenameMemoryInDirectory, (void *)&sum); + + DEBUG("saved memory from filenames: %i\n", sum); +}