Skip to content

Commit

Permalink
remove incorrect assertion (is incorrect for stats mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkokot committed Dec 8, 2023
1 parent cae3c39 commit 46b5f1a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kmc_core/fastq_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
Version: 3.2.2
Date : 2023-03-10
*/

#include <algorithm>
#include "defs.h"
#include "fastq_reader.h"
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 46b5f1a

Please sign in to comment.