From: David Wells Date: Mon, 2 Dec 2019 16:04:49 +0000 (-0500) Subject: Silence some unused variable warnings. X-Git-Tag: v9.2.0-rc1~830^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fef74ecab36dfc56fc8f8151adc0d0e6b47a4277;p=dealii.git Silence some unused variable warnings. --- diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index 2d89491472..4709d909f0 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -1125,6 +1125,7 @@ namespace Particles const_cast *>( dynamic_cast *>(&(*triangulation))); + (void)non_const_triangulation; Assert(non_const_triangulation != nullptr, dealii::ExcNotImplemented()); @@ -1165,6 +1166,7 @@ namespace Particles const_cast *>( dynamic_cast *>(&(*triangulation))); + (void)non_const_triangulation; Assert(non_const_triangulation != nullptr, dealii::ExcNotImplemented());