From ed5058a363714513269e1f5279a24f2a125036dc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 26 Feb 2016 15:07:00 +0100 Subject: [PATCH] TagArchive: remove obsolete overload --- src/TagArchive.cxx | 12 ------------ src/TagArchive.hxx | 11 ----------- 2 files changed, 23 deletions(-) diff --git a/src/TagArchive.cxx b/src/TagArchive.cxx index 935669025..53413c1df 100644 --- a/src/TagArchive.cxx +++ b/src/TagArchive.cxx @@ -47,18 +47,6 @@ tag_archive_scan(Path path, const TagHandler &handler, void *handler_ctx) return tag_stream_scan(*is, handler, handler_ctx); } -bool -tag_archive_scan(Path path, TagBuilder &builder) -{ - assert(!path.IsNull()); - - Mutex mutex; - Cond cond; - InputStreamPtr is(OpenArchiveInputStream(path, mutex, cond, - IgnoreError())); - return is && tag_stream_scan(*is, builder); -} - bool tag_archive_scan(ArchiveFile &archive, const char *path_utf8, TagBuilder &builder) diff --git a/src/TagArchive.hxx b/src/TagArchive.hxx index 0791bf6eb..854a1430b 100644 --- a/src/TagArchive.hxx +++ b/src/TagArchive.hxx @@ -38,17 +38,6 @@ class TagBuilder; bool tag_archive_scan(Path path, const TagHandler &handler, void *handler_ctx); -/** - * Scan the tags of a song file inside an archive. Invokes matching - * decoder plugins, and falls back to generic scanners (APE and ID3) - * if no tags were found (but the file was recognized). - * - * @return true if the file was recognized (even if no metadata was - * found) - */ -bool -tag_archive_scan(Path path, TagBuilder &builder); - /** * Scan the tags of a song file inside an archive. Invokes matching * decoder plugins, and falls back to generic scanners (APE and ID3)