From cc3be3aeed2f4a382f3534b6597a4587ae22f36a Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Mon, 21 Oct 2013 20:52:59 +0200
Subject: [PATCH] TagFile: use IgnoreError()

---
 src/TagFile.cxx | 6 ++----
 1 file 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) {