Skip to content
Snippets Groups Projects
Commit b5e12845 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Merge branch 'feature/fix-missing-return-statements' into 'master'

Add missing return statements

This avoids undefined behaviour. However, I have no idea,
if `0` is a proper value to return.

Closes #14

See merge request !29
parents 54ffceee feef5f51
No related branches found
No related tags found
1 merge request!29Add missing return statements
Pipeline #
......@@ -175,6 +175,7 @@ static int ComputeNodeBorderPrios (DDD_OBJ obj)
if (me!=min_proc)
SETPRIO(node, PrioBorder);
return 0;
}
......@@ -216,6 +217,7 @@ static int ComputeVectorBorderPrios (DDD_OBJ obj)
if (me!=min_proc)
SETPRIO(vector, PrioBorder);
return 0;
}
......@@ -258,6 +260,7 @@ static int ComputeEdgeBorderPrios (DDD_OBJ obj)
if (me!=min_proc)
SETPRIO(edge, PrioBorder);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment