diff options
author | Max Kellermann <max@duempel.org> | 2014-12-12 14:13:14 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-12 21:43:54 +0100 |
commit | 204a1de3fd575deadda595b39799b9b9f6e7564e (patch) | |
tree | 7a629e8ed916d21a16a0b7e373a5d07d85869bb3 /src/Instance.cxx | |
parent | 80ddf4aecf2b865e4d4bb5f9f621b51c34a44122 (diff) | |
download | mpd-204a1de3fd575deadda595b39799b9b9f6e7564e.tar.gz mpd-204a1de3fd575deadda595b39799b9b9f6e7564e.tar.xz mpd-204a1de3fd575deadda595b39799b9b9f6e7564e.zip |
sticker/Database: use the Error library
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r-- | src/Instance.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx index 232cd21df..0f7f52e6e 100644 --- a/src/Instance.cxx +++ b/src/Instance.cxx @@ -22,6 +22,7 @@ #include "Partition.hxx" #include "Idle.hxx" #include "Stats.hxx" +#include "util/Error.hxx" #ifdef ENABLE_DATABASE #include "db/DatabaseError.hxx" @@ -76,7 +77,7 @@ Instance::OnDatabaseSongRemoved(const LightSong &song) #ifdef ENABLE_SQLITE /* if the song has a sticker, remove it */ if (sticker_enabled()) - sticker_song_delete(song); + sticker_song_delete(song, IgnoreError()); #endif const auto uri = song.GetURI(); |