aboutsummaryrefslogtreecommitdiffstats
path: root/src/Instance.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r--src/Instance.hxx6
1 files changed, 6 insertions, 0 deletions
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);