Skip to content

Commit

Permalink
coll: Add return value to return statement
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Raffenetti <raffenet@mcs.anl.gov>
  • Loading branch information
Akhil Langer authored and raffenet committed Aug 3, 2018
1 parent 20cedcb commit e03a199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpi/coll/algorithms/treealgo/treeutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int MPII_Treeutil_tree_knomial_2_init(int rank, int nranks, int k, int root,

MPIR_Assert(nranks >= 0);
if (nranks <= 0)
return;
return mpi_errno;

lrank = (rank + (nranks - root)) % nranks;
MPIR_Assert(k >= 2);
Expand Down

0 comments on commit e03a199

Please sign in to comment.