From f00710a57e80738c33255eaa1347ab776fbce869 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 10:09:09 +0100 Subject: Main: create UpdateService instance in glue_db_init_and_load() --- src/Instance.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Instance.hxx') diff --git a/src/Instance.hxx b/src/Instance.hxx index a2c141dc7..ea60072cb 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -62,6 +62,12 @@ struct Instance final Partition *partition; + Instance() { +#ifdef ENABLE_DATABASE + update = nullptr; +#endif + } + #ifdef ENABLE_DATABASE void DeleteSong(const char *uri); -- cgit v1.2.3