From: Stefano Zampini Date: Sun, 22 Jan 2023 12:53:33 +0000 (+0300) Subject: Fix warning: unused parameter ‘matrix_’ [-Wunused-parameter] X-Git-Tag: v9.5.0-rc1~601^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65516b09d8586f33afe45775fe91e906cf9a47b3;p=dealii.git Fix warning: unused parameter ‘matrix_’ [-Wunused-parameter] --- diff --git a/source/lac/petsc_precondition.cc b/source/lac/petsc_precondition.cc index 873c0139c1..cc2ed27fe5 100644 --- a/source/lac/petsc_precondition.cc +++ b/source/lac/petsc_precondition.cc @@ -816,7 +816,7 @@ namespace PETScWrappers AssertThrow(ierr == 0, ExcPETScError(ierr)); # else // DEAL_II_PETSC_WITH_HYPRE - (void)pc; + (void)matrix_; Assert(false, ExcMessage("Your PETSc installation does not include a copy of " "the hypre package necessary for this preconditioner."));