]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_mate.c
changes from git
[samtools.git] / bam_mate.c
index 642ded68b80c0da699ba0091dc7e5dd9acc36d96..056c723f21f80a93eb4f60657934d93ea29deed7 100644 (file)
@@ -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;