From e7f369b9a33d031c7b6c27a970b90611695c7dba Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 15 Mar 2017 14:13:42 -0500 Subject: [PATCH] Fix unused variable warnings in step-26 --- examples/step-26/step-26.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/step-26/step-26.cc b/examples/step-26/step-26.cc index 747248b481..08a7687bae 100644 --- a/examples/step-26/step-26.cc +++ b/examples/step-26/step-26.cc @@ -145,6 +145,7 @@ namespace Step26 double RightHandSide::value (const Point &p, const unsigned int component) const { + (void)component; Assert (component == 0, ExcInternalError()); Assert (dim == 2, ExcNotImplemented()); @@ -185,6 +186,7 @@ namespace Step26 double BoundaryValues::value (const Point &/*p*/, const unsigned int component) const { + (void)component; Assert(component == 0, ExcInternalError()); return 0; } -- 2.39.5