]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning: unused parameter ‘matrix_’ [-Wunused-parameter] 14685/head
authorStefano Zampini <stefano.zampini@gmail.com>
Sun, 22 Jan 2023 12:53:33 +0000 (15:53 +0300)
committerStefano Zampini <stefano.zampini@gmail.com>
Sun, 22 Jan 2023 14:07:09 +0000 (17:07 +0300)
source/lac/petsc_precondition.cc

index 873c0139c1bf12e82c4e1f929753b2275b782f8a..cc2ed27fe5680266e233bfc002f94a27e822ef89 100644 (file)
@@ -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."));

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.