aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/TagFile.cxx6
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) {