Skip to content

Commit 343e689

Browse files
committed
Remove some extraneous braces
1 parent cdff1de commit 343e689

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sam_mods.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,17 +518,15 @@ int bam_mods_at_next_pos(const bam1_t *b, hts_base_mod_state *state,
518518
if (*cp == ',')
519519
break;
520520
state->MMend[i] = cp;
521-
if (cp != state->MM[i]) {
521+
if (cp != state->MM[i])
522522
state->MMcount[i] = (int)hts_str2uint(cp + 1, &tmp, 31, &failed);
523-
} else {
523+
else
524524
state->MMcount[i] = INT_MAX;
525-
}
526525
} else {
527-
if (*state->MM[i] == ',') {
526+
if (*state->MM[i] == ',')
528527
state->MMcount[i] = (int)hts_str2uint(state->MM[i] + 1, &state->MM[i], 31, &failed);
529-
} else {
528+
else
530529
state->MMcount[i] = INT_MAX;
531-
}
532530
}
533531
if (failed) {
534532
hts_log_error("%s: Error parsing unsigned integer from MM tag", bam_get_qname(b));

0 commit comments

Comments
 (0)