Commit a3653a36 authored by Ansgar Burchardt's avatar Ansgar Burchardt

Merge branch 'cherry-pick-b5e12845' into 'releases/2.5'

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

See merge request !30
parents 3cdcaedd b88127d3
Pipeline #970 passed with stage
in 13 minutes and 19 seconds
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment