Skip to content

Commit

Permalink
Add more semi-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rr0 committed Oct 13, 2023
1 parent 6dd1829 commit 04ec2d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04ec2d4

Please sign in to comment.