Skip to content
Snippets Groups Projects
Commit caf58132 authored by alec.schmidt's avatar alec.schmidt
Browse files

Return CONST_CONTR au lieu de control v.value = 0;

parent 8d9eeb2e
No related branches found
No related tags found
No related merge requests found
......@@ -78,10 +78,10 @@ control bp_insert_into(node *nd, control val)
}
nd->count++;
control v;
v.value = 0;
if (nd->count == M)
{
control v;
node *new = bp_split(nd);
v.lhs = nd;
v.rhs = new;
......@@ -90,7 +90,7 @@ control bp_insert_into(node *nd, control val)
nd->next = new;
return v;
}
return v;
return CONST_CONTR;
}
control bp_insert(node *nd, control val){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment