Silence unitialized var warnings
This commit was SVN r29035.
Этот коммит содержится в:
родитель
b2d86e1857
Коммит
c5f395d36a
@ -65,7 +65,7 @@ int MPI_File_delete(char *filename, MPI_Info info)
|
||||
initialized). We might want to add a check to see if the
|
||||
framework is open instead of just incrementing the open count. */
|
||||
|
||||
if (OMPI_SUCCESS != (mca_base_framework_open(&ompi_io_base_framework, 0))) {
|
||||
if (OMPI_SUCCESS != (rc = mca_base_framework_open(&ompi_io_base_framework, 0))) {
|
||||
return OMPI_ERRHANDLER_INVOKE(MPI_FILE_NULL, rc, FUNC_NAME);
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ int MPI_Register_datarep(char *datarep,
|
||||
and MPI_FILE_DELETE are the only two places that it will be
|
||||
initialized). */
|
||||
|
||||
if (OMPI_SUCCESS != (mca_base_framework_open(&ompi_io_base_framework, 0))) {
|
||||
if (OMPI_SUCCESS != (rc = mca_base_framework_open(&ompi_io_base_framework, 0))) {
|
||||
return OMPI_ERRHANDLER_INVOKE(MPI_FILE_NULL, rc, FUNC_NAME);
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user