fix warning

This commit is contained in:
chhylp123
2020-04-12 17:46:30 -04:00
parent b245e9a760
commit 57b16e9e1f
2 changed files with 3 additions and 252 deletions
+3 -1
View File
@@ -1599,6 +1599,7 @@ hap_overlaps_list* all_ovlp)
asg_arc_t t;
asg_arc_t_offset t_offset;
hap_candidates hap_can;
memset(&hap_can, 0, sizeof(hap_candidates));
hap_overlaps hap_align;
xUid = Input_uId;
if(nsg->seq[xUid].del || nsg->seq[xUid].c == ALTER_LABLE) return;
@@ -2161,7 +2162,8 @@ void hap_alignment_worker(void *_data, long eid, int tid)
int32_t r;
asg_arc_t t;
asg_arc_t_offset t_offset;
hap_candidates hap_can;
hap_candidates hap_can;
memset(&hap_can, 0, sizeof(hap_candidates));
hap_overlaps hap_align;
xUid = Input_uId;
if(nsg->seq[xUid].del || nsg->seq[xUid].c == ALTER_LABLE) return;