Commit 769f698c authored by Antonio J. Pena's avatar Antonio J. Pena
Browse files

Fixes compiler warnings in init.c / initthread.c

src/mpi/init/init.c: In function 'PMPI_Init':
src/mpi/init/init.c:78:9: warning: variable 'rc' set but not used
src/mpi/init/initthread.c: In function 'PMPI_Init_thread':
src/mpi/init/initthread.c:554:9: warning: variable 'rc' set but not used
Signed-off-by: default avatarWesley Bland <>
parent 4bf29080
......@@ -75,7 +75,7 @@ int MPI_Init( int *argc, char ***argv )
static const char FCNAME[] = "MPI_Init";
int mpi_errno = MPI_SUCCESS;
int rc;
int rc ATTRIBUTE((unused));
int threadLevel, provided;
......@@ -551,7 +551,7 @@ Notes for Fortran:
int MPI_Init_thread( int *argc, char ***argv, int required, int *provided )
int mpi_errno = MPI_SUCCESS;
int rc, reqd = required;
int rc ATTRIBUTE((unused)), reqd = required;
rc = MPID_Wtime_init();
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