archive/Lookup, input/Archive: remove useless log messages

This commit is contained in:
Max Kellermann
2019-06-04 17:54:35 +02:00
parent 9ae1256ae7
commit 0019231a37
2 changed files with 0 additions and 10 deletions

View File

@@ -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) {