Skip to content

Commit

Permalink
refactoring comment
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Jun 24, 2024
1 parent ffa390c commit 77b0760
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cut.cc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ auto cut() -> void

if (not h)
{
fatal("Unrecognized file type (not proper FASTA format)");
fatal("Unrecognized file type (not proper FASTA format)"); // unreachable
}

auto const filesize = fasta_get_size(h);
Expand Down Expand Up @@ -315,7 +315,7 @@ auto cut() -> void

if (pattern == nullptr)
{
fatal("No cut pattern string specified with --cut_pattern");
fatal("No cut pattern string specified with --cut_pattern"); // unreachable
}

int const n = strlen(pattern);
Expand All @@ -328,7 +328,7 @@ auto cut() -> void
int cut_fwd = -1;
int cut_rev = -1;

int j = 0;
int j = 0; // number of nucleotides (pattern minus cutting sites)
for (int i = 0; i < n ; i++)
{
unsigned char const x = pattern[i];
Expand Down

0 comments on commit 77b0760

Please sign in to comment.