From: Peter Munch Date: Wed, 21 Dec 2022 17:13:50 +0000 (+0100) Subject: Fix warning X-Git-Tag: v9.5.0-rc1~711^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14603%2Fhead;p=dealii.git Fix warning --- 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)); }