This is an automated email from the git hooks/post-receive script.

plessy pushed a commit to branch develop
in repository samtools.

commit a0254acaa445dc336b2ef81736d4ea85eae33a56
Author: John Marshall <[email protected]>
Date:   Mon Aug 18 16:37:22 2014 +0100

    No need to initialise array anyway
---
 bam2bcf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bam2bcf.c b/bam2bcf.c
index f80ebfb..ca2481e 100644
--- a/bam2bcf.c
+++ b/bam2bcf.c
@@ -623,7 +623,7 @@ int bcf_call_combine(int n, const bcf_callret1_t *calls, 
bcf_callaux_t *bca, int
         {
             assert( call->n_alleles<=B2B_MAX_ALLELES );   // this is always 
true for SNPs and so far for indels as well
 
-            int32_t tmp[B2B_MAX_ALLELES] = {0,0,0,0,0};   // change this if 
B2B_MAX_ALLELES changes
+            int32_t tmp[B2B_MAX_ALLELES];
             int32_t *dpr = call->DPR + B2B_MAX_ALLELES, *dpr_out = call->DPR + 
B2B_MAX_ALLELES;
             int32_t *dpr_tot = call->DPR;
             for (i=0; i<n; i++)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/samtools.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to