Commit 4db1b1b2 authored by Max Kellermann's avatar Max Kellermann

storage/State: remove useless #ifdef ENABLE_DATABASE

This source file isn't compiled when the database is disabled.
parent ff6b263b
......@@ -99,7 +99,6 @@ storage_state_restore(const char *line, TextFile &file, Instance &instance)
return true;
}
#ifdef ENABLE_DATABASE
Database *db = instance.database;
if (db != nullptr && db->IsPlugin(simple_db_plugin)) {
try {
......@@ -108,7 +107,6 @@ storage_state_restore(const char *line, TextFile &file, Instance &instance)
throw;
}
}
#endif
((CompositeStorage*)instance.storage)->Mount(uri.c_str(), storage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment