X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_mate.c;h=056c723f21f80a93eb4f60657934d93ea29deed7;hb=ccbf51856ab09dd5cb841326a25364dd470cf03c;hp=642ded68b80c0da699ba0091dc7e5dd9acc36d96;hpb=df50415f5380510f5b44bee2361413fc39c8bbcf;p=samtools.git diff --git a/bam_mate.c b/bam_mate.c index 642ded6..056c723 100644 --- a/bam_mate.c +++ b/bam_mate.c @@ -34,7 +34,7 @@ void bam_mating_core(bamFile in, bamFile out) { bam_header_t *header; bam1_t *b[2]; - int curr, has_prev, pre_end, cur_end; + int curr, has_prev, pre_end = 0, cur_end; kstring_t str; str.l = str.m = 0; str.s = 0;