aboutsummaryrefslogtreecommitdiffstats
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-08 21:01:25 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 21:01:25 +0200
commitc1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff (patch)
treea1eb2e93ff43309ee30fd77ec57db6d10d8fd612 /test/DumpDatabase.cxx
parent510097cc37ffe88ddd1bf0587add83654777ded1 (diff)
downloadmpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.tar.gz
mpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.tar.xz
mpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.zip
tag_pool: use GStaticMutex
Eliminates explicit global initialisation.
Diffstat (limited to '')
-rw-r--r--test/DumpDatabase.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index b0a9c933c..7aa8f06f5 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -27,7 +27,7 @@
extern "C" {
#include "conf.h"
-#include "tag_pool.h"
+#include "tag.h"
}
#include <iostream>
@@ -95,7 +95,6 @@ main(int argc, char **argv)
/* initialize MPD */
- tag_pool_init();
config_global_init();
if (!config_read_file(config_path, &error)) {
@@ -147,7 +146,6 @@ main(int argc, char **argv)
/* deinitialize everything */
config_global_finish();
- tag_pool_deinit();
return EXIT_SUCCESS;
}