Skip to content

Commit 77b0760

Browse files
committed
refactoring comment
1 parent ffa390c commit 77b0760

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cut.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ auto cut() -> void
265265

266266
if (not h)
267267
{
268-
fatal("Unrecognized file type (not proper FASTA format)");
268+
fatal("Unrecognized file type (not proper FASTA format)"); // unreachable
269269
}
270270

271271
auto const filesize = fasta_get_size(h);
@@ -315,7 +315,7 @@ auto cut() -> void
315315

316316
if (pattern == nullptr)
317317
{
318-
fatal("No cut pattern string specified with --cut_pattern");
318+
fatal("No cut pattern string specified with --cut_pattern"); // unreachable
319319
}
320320

321321
int const n = strlen(pattern);
@@ -328,7 +328,7 @@ auto cut() -> void
328328
int cut_fwd = -1;
329329
int cut_rev = -1;
330330

331-
int j = 0;
331+
int j = 0; // number of nucleotides (pattern minus cutting sites)
332332
for (int i = 0; i < n ; i++)
333333
{
334334
unsigned char const x = pattern[i];

0 commit comments

Comments
 (0)