diff --git a/pat.cpp b/pat.cpp index 08fa9e46..8265c6e8 100644 --- a/pat.cpp +++ b/pat.cpp @@ -513,20 +513,20 @@ void CFilePatternSource::open() { bool err = false; if (pp_.format == BAM) { - SET_BINARY_MODE(fd) + SET_BINARY_MODE(fd); err = CHECK_ERROR(fp_ = fdopen(fd, "rb")); compressionType_ = CompressionType::NONE; } else if (is_fifo) { - SET_BINARY_MODE(fd) + SET_BINARY_MODE(fd); err = CHECK_ERROR(zfp_ = gzdopen(fd, "rb")); compressionType_ = CompressionType::GZIP; } else if (is_gzipped_file(fd)) { - SET_BINARY_MODE(fd) + SET_BINARY_MODE(fd); err = CHECK_ERROR(zfp_ = gzdopen(fd, "rb")); compressionType_ = CompressionType::GZIP; #ifdef WITH_ZSTD } else if (is_zstd_file(fd)) { - SET_BINARY_MODE(fd) + SET_BINARY_MODE(fd); err = CHECK_ERROR(zstdfp_ = zstdFdOpen(fd)); compressionType_ = CompressionType::ZSTD; #endif