aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-08 08:28:13 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 09:28:13 +0200
commit2043579f71b4f5204272ed8615cffe1c3c4d8473 (patch)
tree20559338f39086a291dcc7ed2ec1264903754344
parent346e31efa02bfead10b3d43e9bcebef7d023a2e3 (diff)
downloadmpd-2043579f71b4f5204272ed8615cffe1c3c4d8473.tar.gz
mpd-2043579f71b4f5204272ed8615cffe1c3c4d8473.tar.xz
mpd-2043579f71b4f5204272ed8615cffe1c3c4d8473.zip
main: don't call db_init() without database
Useless call.
Diffstat (limited to '')
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2c9afe001..99918c48c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -163,7 +163,6 @@ glue_db_init_and_load(void)
if (path != NULL)
g_message("Found " CONF_DB_FILE " setting without "
CONF_MUSIC_DIR " - disabling database");
- db_init(NULL, NULL);
return true;
}