diff options
-rw-r--r-- | src/Instance.hxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index 35bc4f91c..57687ec1a 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -67,22 +67,15 @@ struct Instance final * This is really a #CompositeStorage. To avoid heavy include * dependencies, we declare it as just #Storage. */ - Storage *storage; + Storage *storage = nullptr; - UpdateService *update; + UpdateService *update = nullptr; #endif ClientList *client_list; Partition *partition; - Instance() { -#ifdef ENABLE_DATABASE - storage = nullptr; - update = nullptr; -#endif - } - #ifdef ENABLE_DATABASE /** * Returns the global #Database instance. May return nullptr |