diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 17:58:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 17:58:13 +0100 |
commit | 144cfe70bfb23ac5fdf328ed8b1492374d4b21f5 (patch) | |
tree | 4b911f4abbced95ec1e3f82c1c50f44015d3a2af | |
parent | 855f26c43d0a9346e6670f09325f1e2b4d354757 (diff) | |
download | mpd-144cfe70bfb23ac5fdf328ed8b1492374d4b21f5.tar.gz mpd-144cfe70bfb23ac5fdf328ed8b1492374d4b21f5.tar.xz mpd-144cfe70bfb23ac5fdf328ed8b1492374d4b21f5.zip |
db/update/Remove: initialize attribute "removed_song"
Fixes bogus assertion failure.
-rw-r--r-- | src/db/update/Remove.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 |