From 46b5f1a7c155bf2910e3a8f08a7594f782454c2e Mon Sep 17 00:00:00 2001 From: marekkokot Date: Fri, 8 Dec 2023 13:32:19 +0100 Subject: [PATCH] remove incorrect assertion (is incorrect for stats mode) --- kmc_core/fastq_reader.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/kmc_core/fastq_reader.cpp b/kmc_core/fastq_reader.cpp index 2cff368..bd9e899 100644 --- a/kmc_core/fastq_reader.cpp +++ b/kmc_core/fastq_reader.cpp @@ -7,7 +7,6 @@ Version: 3.2.2 Date : 2023-03-10 */ - #include #include "defs.h" #include "fastq_reader.h" @@ -1039,8 +1038,6 @@ uint64 CFastqReaderDataSrc::read(uchar* buff, uint64 size, bool& last_in_file, b CCriticalErrorHandler::Inst().HandleCriticalError(ostr.str()); } - assert(last_in_file); - if (ret != Z_STREAM_END) { std::ostringstream ostr; ostr << "Unexpected end of gzip file";