Skip to content

Commit 0975618

Browse files
committed
prefer pre-increment
1 parent 6602044 commit 0975618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linmemalign.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ auto LinearMemoryAligner::alignstats(char * cigar,
751751
if (opt_n_mismatch && ((chrmap_4bit[(int) (a_seq[a_pos])] == is_N) ||
752752
(chrmap_4bit[(int) (b_seq[b_pos])] == is_N)))
753753
{
754-
nwmismatches++;
754+
++nwmismatches;
755755
}
756756
else if ((chrmap_4bit[(int)(a_seq[a_pos])] &
757757
chrmap_4bit[(int)(b_seq[b_pos])]) != 0U)

0 commit comments

Comments
 (0)