diff options
Diffstat (limited to '')
-rw-r--r-- | src/db/DatabaseGlue.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/DatabaseGlue.cxx b/src/db/DatabaseGlue.cxx index 30c244334..ade5c95f3 100644 --- a/src/db/DatabaseGlue.cxx +++ b/src/db/DatabaseGlue.cxx @@ -29,11 +29,10 @@ Database * DatabaseGlobalInit(EventLoop &loop, DatabaseListener &listener, - const config_param ¶m, bool &is_simple, Error &error) + const config_param ¶m, Error &error) { const char *plugin_name = param.GetBlockValue("plugin", "simple"); - is_simple = strcmp(plugin_name, "simple") == 0; const DatabasePlugin *plugin = GetDatabasePluginByName(plugin_name); if (plugin == nullptr) { |