mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-09 03:08:12 +08:00
fixed a few harmless warnings
This commit is contained in:
+5
-2
@@ -104,6 +104,7 @@ uint64_t* source_index, long long listLen)
|
|||||||
source_i = (uint32_t)(source_index[i]);
|
source_i = (uint32_t)(source_index[i]);
|
||||||
tmp = &(source_paf_list[source_n].buffer[source_i]);
|
tmp = &(source_paf_list[source_n].buffer[source_i]);
|
||||||
|
|
||||||
|
ele.del = 0;
|
||||||
ele.rev = tmp->rev;
|
ele.rev = tmp->rev;
|
||||||
ele.qns = Get_tn((*tmp));
|
ele.qns = Get_tn((*tmp));
|
||||||
ele.qns = ele.qns << 32;
|
ele.qns = ele.qns << 32;
|
||||||
@@ -445,6 +446,7 @@ void normalize_ma_hit_t(ma_hit_t_alloc* sources, long long num_sources)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
///must have this line
|
///must have this line
|
||||||
|
new_element.del = 0;
|
||||||
new_element.ml = 1;
|
new_element.ml = 1;
|
||||||
new_element.no_l_indel = 1;
|
new_element.no_l_indel = 1;
|
||||||
set_reverse_overlap(&new_element, &(sources[i].buffer[j]));
|
set_reverse_overlap(&new_element, &(sources[i].buffer[j]));
|
||||||
@@ -4685,7 +4687,7 @@ int asg_arc_del_too_short_overlaps(asg_t *g, long long dropLen, float drop_ratio
|
|||||||
double startTime = Get_T();
|
double startTime = Get_T();
|
||||||
|
|
||||||
uint32_t v, v_max, v_maxLen, n_vtx = g->n_seq * 2, n_short = 0;
|
uint32_t v, v_max, v_maxLen, n_vtx = g->n_seq * 2, n_short = 0;
|
||||||
long long drop_ratio_Len;
|
long long drop_ratio_Len = 0;
|
||||||
|
|
||||||
for (v = 0; v < n_vtx; ++v)
|
for (v = 0; v < n_vtx; ++v)
|
||||||
{
|
{
|
||||||
@@ -5741,7 +5743,7 @@ int asg_arc_del_tri_link(asg_t *g, int max_dist)
|
|||||||
|
|
||||||
if(f1 && f2)
|
if(f1 && f2)
|
||||||
{
|
{
|
||||||
if((l1 <= min_thres) || (l2 <= min_thres))
|
if(l1 <= min_thres || l2 <= min_thres) // TODO: check this block: it is always false
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -7607,6 +7609,7 @@ int asg_arc_del_orthology_multiple_way(asg_t *g, ma_hit_t_alloc* reverse_sources
|
|||||||
n_arc = get_real_length(g, v, NULL);
|
n_arc = get_real_length(g, v, NULL);
|
||||||
if (n_arc < 2) continue;
|
if (n_arc < 2) continue;
|
||||||
v_max = (uint32_t)-1;
|
v_max = (uint32_t)-1;
|
||||||
|
v_maxLen = 0;
|
||||||
|
|
||||||
for (i = 0, n_arc = 0; i < nv; i++)
|
for (i = 0, n_arc = 0; i < nv; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user