--- a/src/mpdcli.cxx
+++ b/src/mpdcli.cxx
@@ -53,7 +53,6 @@
     }
     m_have_addtagid = checkForCommand("addtagid");
 
-    std::unique_lock<std::mutex>(g_configlock);
     g_config->get("onstart", m_onstart);
     g_config->get("onplay", m_onplay);
     g_config->get("onpause", m_onpause);