db/update/Remove: initialize attribute "removed_song"

Fixes bogus assertion failure.
This commit is contained in:
Max Kellermann 2014-02-05 17:58:02 +01:00
parent 855f26c43d
commit 144cfe70bf

View File

@ -42,7 +42,8 @@ class UpdateRemoveService final : DeferredMonitor {
public: public:
UpdateRemoveService(EventLoop &_loop, DatabaseListener &_listener) 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 * Sends a signal to the main thread which will in turn remove