Fix compile warnings (#444)

This fixes a couple of compiler warnings introduced in the last merge into master.
This commit is contained in:
Wayne Mitchell 2021-08-09 08:04:09 -07:00 committed by GitHub
parent 59fcd47e6d
commit 2e5b573b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -910,8 +910,6 @@ HYPRE_Int hypre_AMGDDCompGridFinalize( hypre_ParAMGDDData *amgdd_data )
HYPRE_Int num_recv_procs;
HYPRE_Int new_num_recv_nodes;
HYPRE_Int new_num_recv_procs;
HYPRE_Int num_owned_c_points;
HYPRE_Int num_nonowned_real_c_points;
HYPRE_Int real_cnt, ghost_cnt;
HYPRE_Int proc, outer_level, level, i, j;
#if defined(HYPRE_USING_CUDA) || defined(HYPRE_USING_HIP)

View File

@ -1691,7 +1691,7 @@ hypre_BoomerAMGBuildRestrNeumannAIRHost( hypre_ParCSRMatrix *A,
HYPRE_Int *R_offd_j;
HYPRE_BigInt *col_map_offd_R;
HYPRE_Int i, j, j1, i1, ic,
HYPRE_Int i, j, j1, ic,
num_cols_offd_R;
HYPRE_Int my_id, num_procs;
HYPRE_BigInt total_global_cpts/*, my_first_cpt*/;

View File

@ -6106,7 +6106,7 @@ hypre_ParCSRMatrixDropSmallEntries( hypre_ParCSRMatrix *A,
hypre_GpuProfilingPopRange();
#endif
return hypre_error_flag;
return ierr;
}
/* Scale ParCSR matrix A = scalar * A