aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-03 11:52:57 +0200
committerMax Kellermann <max@duempel.org>2013-09-03 11:52:57 +0200
commitf68e36f8c2cbfe28b54427c8693e22f5371ce450 (patch)
treed2ade9b7884aed8b1f7f6fb04e9f7ac821f96fd8 /src
parent4db119c01b1c9a10a070a2b23a3d43ca2dc722c5 (diff)
downloadmpd-f68e36f8c2cbfe28b54427c8693e22f5371ce450.tar.gz
mpd-f68e36f8c2cbfe28b54427c8693e22f5371ce450.tar.xz
mpd-f68e36f8c2cbfe28b54427c8693e22f5371ce450.zip
DatabaseSave: eliminate redundant db_quark() implementation
Diffstat (limited to 'src')
-rw-r--r--src/DatabaseSave.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/DatabaseSave.cxx b/src/DatabaseSave.cxx
index 8f5d5fb00..ff95cf788 100644
--- a/src/DatabaseSave.cxx
+++ b/src/DatabaseSave.cxx
@@ -20,6 +20,7 @@
#include "config.h"
#include "DatabaseSave.hxx"
#include "DatabaseLock.hxx"
+#include "DatabaseError.hxx"
#include "Directory.hxx"
#include "DirectorySave.hxx"
#include "Song.hxx"
@@ -47,13 +48,6 @@ enum {
DB_FORMAT = 1,
};
-gcc_const
-static GQuark
-db_quark(void)
-{
- return g_quark_from_static_string("database");
-}
-
void
db_save_internal(FILE *fp, const Directory *music_root)
{