From: Matthias Maier Date: Wed, 15 Mar 2017 19:09:09 +0000 (-0500) Subject: Fix unused variable warnings in step-45 X-Git-Tag: v8.5.0-rc1~38^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb5cc826e8da6ccc505a31fa4163cea8d53e1b36;p=dealii.git Fix unused variable warnings in step-45 --- diff --git a/examples/step-45/step-45.cc b/examples/step-45/step-45.cc index f84f90acab..c516dad434 100644 --- a/examples/step-45/step-45.cc +++ b/examples/step-45/step-45.cc @@ -126,6 +126,7 @@ namespace Step45 BoundaryValues::value (const Point &/*p*/, const unsigned int component) const { + (void) component; Assert (component < this->n_components, ExcIndexRange (component, 0, this->n_components));