Fix some harmless compiler warnings
This commit was SVN r3752.
Этот коммит содержится в:
родитель
dfa211bad2
Коммит
54a4ec5ae6
@ -40,7 +40,7 @@ int MPI_Group_difference(MPI_Group group1, MPI_Group group2,
|
||||
int new_group_size, proc1, proc2, found_in_group2, cnt;
|
||||
int my_group_rank;
|
||||
ompi_group_t *group1_pointer, *group2_pointer, *new_group_pointer;
|
||||
ompi_proc_t *proc1_pointer, *proc2_pointer, *my_proc_pointer;
|
||||
ompi_proc_t *proc1_pointer, *proc2_pointer, *my_proc_pointer = NULL;
|
||||
|
||||
/* error checking */
|
||||
if( MPI_PARAM_CHECK ) {
|
||||
|
@ -40,7 +40,7 @@ int MPI_Group_intersection(MPI_Group group1, MPI_Group group2,
|
||||
int my_group_rank;
|
||||
int group_size,proc1,proc2,cnt;
|
||||
ompi_group_t *group1_pointer, *group2_pointer, *new_group_pointer;
|
||||
ompi_proc_t *proc1_pointer, *proc2_pointer, *my_proc_pointer;
|
||||
ompi_proc_t *proc1_pointer, *proc2_pointer, *my_proc_pointer = NULL;
|
||||
|
||||
if ( MPI_PARAM_CHECK ) {
|
||||
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
|
||||
|
@ -39,7 +39,7 @@ int MPI_Group_union(MPI_Group group1, MPI_Group group2, MPI_Group *new_group)
|
||||
int new_group_size, proc1, proc2, found_in_group;
|
||||
int my_group_rank, cnt;
|
||||
ompi_group_t *group1_pointer, *group2_pointer, *new_group_pointer;
|
||||
ompi_proc_t *proc1_pointer, *proc2_pointer, *my_proc_pointer;
|
||||
ompi_proc_t *proc1_pointer, *proc2_pointer, *my_proc_pointer = NULL;
|
||||
|
||||
/* check for errors */
|
||||
if (MPI_PARAM_CHECK) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user