From 144cfe70bfb23ac5fdf328ed8b1492374d4b21f5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 5 Feb 2014 17:58:02 +0100 Subject: db/update/Remove: initialize attribute "removed_song" Fixes bogus assertion failure. --- src/db/update/Remove.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/db/update') diff --git a/src/db/update/Remove.hxx b/src/db/update/Remove.hxx index 5c09f55df..f0457efa1 100644 --- a/src/db/update/Remove.hxx +++ b/src/db/update/Remove.hxx @@ -42,7 +42,8 @@ class UpdateRemoveService final : DeferredMonitor { public: UpdateRemoveService(EventLoop &_loop, DatabaseListener &_listener) - :DeferredMonitor(_loop), listener(_listener) {} + :DeferredMonitor(_loop), listener(_listener), + removed_song(nullptr){} /** * Sends a signal to the main thread which will in turn remove -- cgit v1.2.3