From b83c733b7255264e99b3a3ebe07e073260641e85 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 15 Mar 2017 14:07:13 -0500 Subject: [PATCH] Fix unused variable warnings in step-9 --- examples/step-9/step-9.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/step-9/step-9.cc b/examples/step-9/step-9.cc index 1a9c9f0cd4..87e256ec6f 100644 --- a/examples/step-9/step-9.cc +++ b/examples/step-9/step-9.cc @@ -327,6 +327,7 @@ namespace Step9 RightHandSide::value (const Point &p, const unsigned int component) const { + (void) component; Assert (component == 0, ExcIndexRange (component, 0, 1)); const double diameter = 0.1; return ( (p-center_point).norm_square() < diameter*diameter ? @@ -374,6 +375,7 @@ namespace Step9 BoundaryValues::value (const Point &p, const unsigned int component) const { + (void) component; Assert (component == 0, ExcIndexRange (component, 0, 1)); const double sine_term = std::sin(16*numbers::PI*std::sqrt(p.norm_square())); -- 2.39.5