From: Matthias Maier Date: Wed, 15 Mar 2017 19:12:54 +0000 (-0500) Subject: Fix unused variable warnings in step-31 X-Git-Tag: v8.5.0-rc1~38^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d189268198be94e0de6e4df58eff35d0058cb3;p=dealii.git Fix unused variable warnings in step-31 --- diff --git a/examples/step-31/step-31.cc b/examples/step-31/step-31.cc index 9dc71120aa..eedc929966 100644 --- a/examples/step-31/step-31.cc +++ b/examples/step-31/step-31.cc @@ -178,6 +178,7 @@ namespace Step31 TemperatureRightHandSide::value (const Point &p, const unsigned int component) const { + (void) component; Assert (component == 0, ExcMessage ("Invalid operation for a scalar function."));