From d65f6809921b11a4ef9b0842b80b4bfb3afc335f Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Wed, 21 Dec 2022 18:13:50 +0100 Subject: [PATCH] Fix warning --- source/lac/petsc_parallel_block_sparse_matrix.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/lac/petsc_parallel_block_sparse_matrix.cc b/source/lac/petsc_parallel_block_sparse_matrix.cc index 4d0accae14..a290cfb602 100644 --- a/source/lac/petsc_parallel_block_sparse_matrix.cc +++ b/source/lac/petsc_parallel_block_sparse_matrix.cc @@ -35,6 +35,7 @@ namespace PETScWrappers BlockSparseMatrix::~BlockSparseMatrix() { PetscErrorCode ierr = destroy_matrix(petsc_nest_matrix); + (void)ierr; AssertNothrow(ierr == 0, ExcPETScError(ierr)); } -- 2.39.5