From: Heng Li Date: Tue, 12 Oct 2010 19:51:57 +0000 (+0000) Subject: a minor change X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b28a2f58cecab24d2872964dabe53e3b3caaf476;p=samtools.git a minor change --- diff --git a/bcftools/bcf.c b/bcftools/bcf.c index 3531647..9044b93 100644 --- a/bcftools/bcf.c +++ b/bcftools/bcf.c @@ -283,8 +283,7 @@ int bcf_append_info(bcf1_t *b, const char *info, int l) b->str[shift + l - 1] = '\0'; b->fmt = b->str + shift + l; b->l_str += l; - bcf_sync(b); -// if (ori != b->str) bcf_sync(b); // synchronize when realloc changes the pointer + if (ori != b->str) bcf_sync(b); // synchronize when realloc changes the pointer return 0; }