diff options
author | Max Kellermann <max@duempel.org> | 2013-10-21 20:52:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-21 20:52:59 +0200 |
commit | cc3be3aeed2f4a382f3534b6597a4587ae22f36a (patch) | |
tree | 0bddeeb54afc032c60d82a7ea03e6daec79220e1 /src | |
parent | 72af3c0489f8bc417189b6dd48b8db4f380e4ba3 (diff) | |
download | mpd-cc3be3aeed2f4a382f3534b6597a4587ae22f36a.tar.gz mpd-cc3be3aeed2f4a382f3534b6597a4587ae22f36a.tar.xz mpd-cc3be3aeed2f4a382f3534b6597a4587ae22f36a.zip |
TagFile: use IgnoreError()
Diffstat (limited to '')
-rw-r--r-- | src/TagFile.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx index c7ddb60cf..70e92e73f 100644 --- a/src/TagFile.cxx +++ b/src/TagFile.cxx @@ -61,11 +61,9 @@ tag_file_scan(const char *path_fs, if (plugin->scan_stream != nullptr) { /* open the input_stream (if not already open) */ - if (is == nullptr) { - Error error; + if (is == nullptr) is = input_stream::Open(path_fs, mutex, cond, - error); - } + IgnoreError()); /* now try the stream_tag() method */ if (is != nullptr) { |