diff --git a/src/archive/ArchiveLookup.cxx b/src/archive/ArchiveLookup.cxx index 34c85c180..d80dfa426 100644 --- a/src/archive/ArchiveLookup.cxx +++ b/src/archive/ArchiveLookup.cxx @@ -18,8 +18,6 @@ */ #include "ArchiveLookup.hxx" -#include "ArchiveDomain.hxx" -#include "Log.hxx" #include "fs/FileInfo.hxx" #include "system/Error.hxx" @@ -57,9 +55,6 @@ archive_lookup(char *pathname) //so the upper should be file return {Path::FromFS(pathname), Path::FromFS(slash + 1)}; } else { - FormatError(archive_domain, - "Not a regular file: %s", - pathname); return {}; } } catch (const std::system_error &e) { diff --git a/src/input/plugins/ArchiveInputPlugin.cxx b/src/input/plugins/ArchiveInputPlugin.cxx index 928818ce8..2ed3b96ed 100644 --- a/src/input/plugins/ArchiveInputPlugin.cxx +++ b/src/input/plugins/ArchiveInputPlugin.cxx @@ -18,7 +18,6 @@ */ #include "ArchiveInputPlugin.hxx" -#include "archive/ArchiveDomain.hxx" #include "archive/ArchiveLookup.hxx" #include "archive/ArchiveList.hxx" #include "archive/ArchivePlugin.hxx" @@ -45,8 +44,6 @@ OpenArchiveInputStream(Path path, Mutex &mutex) try { l = archive_lookup(pname); if (l.archive.IsNull()) { - FormatDebug(archive_domain, - "not an archive, lookup %s failed", pname); return nullptr; } } catch (...) { @@ -62,8 +59,6 @@ OpenArchiveInputStream(Path path, Mutex &mutex) //check which archive plugin to use (by ext) arplug = archive_plugin_from_suffix(suffix); if (!arplug) { - FormatWarning(archive_domain, - "can't handle archive %s", l.archive.c_str()); return nullptr; }