diff options
author | Max Kellermann <max@duempel.org> | 2013-10-22 00:46:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-22 00:59:56 +0200 |
commit | 3f899f83fff45d27132e7fde00150f38e0ffd3a0 (patch) | |
tree | 6181cbf8a65752f10aef5cde257b7710382f27fc /src/QueueSave.cxx | |
parent | fc05768374ac839e7725506fe0a089fc2bfdf124 (diff) | |
download | mpd-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/QueueSave.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QueueSave.cxx b/src/QueueSave.cxx index 1875a1270..6a1a51992 100644 --- a/src/QueueSave.cxx +++ b/src/QueueSave.cxx @@ -114,7 +114,7 @@ queue_load_song(TextFile &file, const char *line, queue &queue) if (uri_has_scheme(uri)) { song = Song::NewRemote(uri); } else { - db = GetDatabase(IgnoreError()); + db = GetDatabase(); if (db == nullptr) return; |