diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-02 13:48:16 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-02 13:48:16 +0100 |
commit | 4db1b1b25051f6399f5be477b1bed9644b8c2b71 (patch) | |
tree | 6fb47fb6d2158d9b8f713a7e121b997dc62ea83e | |
parent | ff6b263b48f1f9e00dbd5d41863af6862fd2bdf0 (diff) |
storage/State: remove useless #ifdef ENABLE_DATABASE
This source file isn't compiled when the database is disabled.
-rw-r--r-- | src/storage/StorageState.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/storage/StorageState.cxx b/src/storage/StorageState.cxx index 721a0ce37..2e5530738 100644 --- a/src/storage/StorageState.cxx +++ b/src/storage/StorageState.cxx @@ -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); |