aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index dc0ef3686..b7f59d29f 100644
--- a/src/database.c
+++ b/src/database.c
@@ -265,8 +265,6 @@ db_load(GError **error)
assert(database_path != NULL);
assert(music_root != NULL);
- if (!music_root)
- music_root = directory_new("", NULL);
while (!(fp = fopen(database_path, "r")) && errno == EINTR) ;
if (fp == NULL) {
g_set_error(error, db_quark(), errno,