From 3c822717de4ffa71aad5e3569dfaf756e0c23840 Mon Sep 17 00:00:00 2001 From: moold Date: Fri, 17 Mar 2023 17:03:31 +0800 Subject: [PATCH] init `align_tag p1` --- lib/ctg_cns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ctg_cns.c b/lib/ctg_cns.c index 2f87a64..8f048b2 100644 --- a/lib/ctg_cns.c +++ b/lib/ctg_cns.c @@ -323,7 +323,7 @@ static inline int get_align_tag(unsigned int *p, align_tags_t *tags, align_tag * static inline void update_msa(msa_p * msa, align_tags_t *tags_list, int aligned_seq_count, int lable){ unsigned int i, d, p, updated; - align_tag p1, pp, ppp; + align_tag p1 = {0, 0, 0}, pp, ppp; for (p = 0; p < aligned_seq_count; p++){ d = 0; pp = ppp = align_tag_head;