Skip to content

Commit

Permalink
readability-implicit-bool-conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Jan 4, 2025
1 parent ea2f7b5 commit ea6aee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sff_convert.cc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ auto sff_convert() -> void
fprintf(stderr, "Key sequence: %s\n", key_sequence.data());
}

if (opt_log)
if (opt_log != nullptr)
{
fprintf(fp_log, "Number of reads: %d\n", sff_header.number_of_reads);
fprintf(fp_log, "Flows per read: %d\n", sff_header.flows_per_read);
Expand Down

0 comments on commit ea6aee0

Please sign in to comment.