aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistPrint.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/PlaylistPrint.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 '')
-rw-r--r--src/PlaylistPrint.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistPrint.cxx b/src/PlaylistPrint.cxx
index 01c3fc3b1..95b77aa0d 100644
--- a/src/PlaylistPrint.cxx
+++ b/src/PlaylistPrint.cxx
@@ -115,7 +115,7 @@ playlist_print_changes_position(Client &client,
static bool
PrintSongDetails(Client &client, const char *uri_utf8)
{
- const Database *db = GetDatabase(IgnoreError());
+ const Database *db = GetDatabase();
if (db == nullptr)
return false;