From b93523c0b1009f7ff3e6f1629ad11ab7594333fb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 21:45:32 +0200 Subject: UpdateGlue: never pass null to update_enqueue() --- src/Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Main.cxx') diff --git a/src/Main.cxx b/src/Main.cxx index 726bfc5d4..3c88fc3c4 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -468,7 +468,7 @@ int mpd_main(int argc, char *argv[]) if (create_db) { /* the database failed to load: recreate the database */ - unsigned job = update_enqueue(nullptr, true); + unsigned job = update_enqueue("", true); if (job == 0) FatalError("directory update failed"); } -- cgit v1.2.3