Skip to content

Commit 8e3823a

Browse files
committed
fortran i8: sqaush some more compiler warnings
that show up when trying to build fortran bindings with integer(kind=8) default. Signed-off-by: Howard Pritchard <[email protected]>
1 parent 6bf7e2b commit 8e3823a

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

ompi/mpi/fortran/mpif-h/get_elements_x_f.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ void ompi_get_elements_x_f(MPI_Fint *status, MPI_Fint *datatype, MPI_Count *coun
7474
int c_ierr;
7575
MPI_Datatype c_type = PMPI_Type_f2c(*datatype);
7676
MPI_Status c_status;
77-
OMPI_SINGLE_NAME_DECL(count);
7877

7978
if (OMPI_IS_FORTRAN_STATUS_IGNORE(status)) {
8079
*count = OMPI_INT_2_FINT(0);

ompi/mpi/fortran/mpif-h/remove_error_class_f.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,7 @@ OMPI_GENERATE_F77_BINDINGS (MPI_REMOVE_ERROR_CLASS,
7070
void ompi_remove_error_class_f(MPI_Fint *errorclass, MPI_Fint *ierr)
7171
{
7272
int ierr_c;
73-
OMPI_SINGLE_NAME_DECL(errorclass);
7473

7574
ierr_c = PMPI_Remove_error_class(OMPI_FINT_2_INT(*errorclass));
7675
if (NULL != ierr) *ierr = OMPI_INT_2_FINT(ierr_c);
77-
78-
if (MPI_SUCCESS == ierr_c) {
79-
OMPI_SINGLE_INT_2_FINT(errorclass);
80-
}
8176
}

ompi/mpi/fortran/mpif-h/remove_error_code_f.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,7 @@ OMPI_GENERATE_F77_BINDINGS (MPI_REMOVE_ERROR_CODE,
7070
void ompi_remove_error_code_f(MPI_Fint *errorcode, MPI_Fint *ierr)
7171
{
7272
int ierr_c;
73-
OMPI_SINGLE_NAME_DECL(errorcode);
7473

7574
ierr_c = PMPI_Remove_error_code(OMPI_FINT_2_INT(*errorcode));
76-
7775
if (NULL != ierr) *ierr = OMPI_INT_2_FINT(ierr_c);
78-
if (MPI_SUCCESS == ierr_c) {
79-
OMPI_SINGLE_INT_2_FINT(errorcode);
80-
}
8176
}

ompi/mpi/fortran/mpif-h/type_size_x_f.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ void ompi_type_size_x_f(MPI_Fint *type, MPI_Count *size, MPI_Fint *ierr)
7272
{
7373
int c_ierr;
7474
MPI_Datatype c_type = PMPI_Type_f2c(*type);
75-
OMPI_SINGLE_NAME_DECL(size);
7675

7776
c_ierr = PMPI_Type_size_x(c_type, size);
7877
if (NULL != ierr) *ierr = OMPI_INT_2_FINT(c_ierr);

0 commit comments

Comments
 (0)