Fixed compiler warning involving return codes.

This commit is contained in:
cleary 2000-07-07 17:55:17 +00:00
parent eb7043aae5
commit f81b93e91e

View File

@ -99,7 +99,7 @@ hypre_DistributedMatrixGetRowPETSc( hypre_DistributedMatrix *matrix,
int **col_ind, int **col_ind,
double **values ) double **values )
{ {
int ierr; int ierr=0;
#ifdef PETSC_AVAILABLE #ifdef PETSC_AVAILABLE
Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix); Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix);
@ -122,7 +122,7 @@ hypre_DistributedMatrixRestoreRowPETSc( hypre_DistributedMatrix *matrix,
int **col_ind, int **col_ind,
double **values ) double **values )
{ {
int ierr; int ierr=0;
#ifdef PETSC_AVAILABLE #ifdef PETSC_AVAILABLE
Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix); Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix);