1
1

Fix compiler warning and remove bozo code :-)

This commit was SVN r2382.
Этот коммит содержится в:
Jeff Squyres 2004-08-29 19:38:12 +00:00
родитель 41192eda33
Коммит 5bfa0ba514

Просмотреть файл

@ -27,14 +27,9 @@ int mca_topo_unity_graph_map (MPI_Comm comm,
int *edges,
int *newrank)
{
int errcode;
int myrank;
myrank = ompi_comm_rank(comm);
if (OMPI_SUCCESS != errcode) {
return OMPI_ERROR;
}
*newrank =
((0 > myrank) || (myrank >= nnodes)) ? MPI_UNDEFINED : myrank;