From 759ea19bab7125dd6256caf2a2d37f4d7df0ce4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Mar 2017 17:30:47 +0300 Subject: Dont show in log "read archive ..." messages if zip debugging disabled. --- src/fs/virtfs/zip.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fs/virtfs/zip.cpp b/src/fs/virtfs/zip.cpp index 32b7bdf56..a94c804e8 100644 --- a/src/fs/virtfs/zip.cpp +++ b/src/fs/virtfs/zip.cpp @@ -78,7 +78,10 @@ namespace Zip uint16_t method = 0U; ZipLocalHeader *header = nullptr; +#ifdef DEBUG_ZIP logger->log("Read archive: %s", archiveName.c_str()); +#endif // DEBUG_ZIP + // format source https://en.wikipedia.org/wiki/Zip_%28file_format%29 while (feof(arcFile) == 0) { -- cgit v1.2.3-70-g09d2