aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSong.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-22 00:46:02 +0200
committerMax Kellermann <max@duempel.org>2013-10-22 00:59:56 +0200
commit3f899f83fff45d27132e7fde00150f38e0ffd3a0 (patch)
tree6181cbf8a65752f10aef5cde257b7710382f27fc /src/PlaylistSong.cxx
parentfc05768374ac839e7725506fe0a089fc2bfdf124 (diff)
downloadmpd-3f899f83fff45d27132e7fde00150f38e0ffd3a0.tar.gz
mpd-3f899f83fff45d27132e7fde00150f38e0ffd3a0.tar.xz
mpd-3f899f83fff45d27132e7fde00150f38e0ffd3a0.zip
Playlist*, Queue: use GetDatabase() overload without Error
Don't use IgnoreError() when there's an overload that does not try to give us one.
Diffstat (limited to 'src/PlaylistSong.cxx')
-rw-r--r--src/PlaylistSong.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistSong.cxx b/src/PlaylistSong.cxx
index a117a85da..60774dc36 100644
--- a/src/PlaylistSong.cxx
+++ b/src/PlaylistSong.cxx
@@ -104,7 +104,7 @@ playlist_check_load_song(const Song *song, const char *uri, bool secure)
if (dest == nullptr)
return nullptr;
} else {
- const Database *db = GetDatabase(IgnoreError());
+ const Database *db = GetDatabase();
if (db == nullptr)
return nullptr;