From: Matthias Maier Date: Wed, 15 Mar 2017 19:08:18 +0000 (-0500) Subject: Fix unused variable warnings in step-47 X-Git-Tag: v8.5.0-rc1~38^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0174e1dd6007bfada0dc04bec039f51bfc6072ca;p=dealii.git Fix unused variable warnings in step-47 --- diff --git a/examples/step-47/step-47.cc b/examples/step-47/step-47.cc index 98cd5b4f07..74b6cdeae8 100644 --- a/examples/step-47/step-47.cc +++ b/examples/step-47/step-47.cc @@ -152,8 +152,8 @@ namespace Step47 Assert (values.size() == n_points, ExcDimensionMismatch (values.size(), n_points)); - Assert (component == 0, - ExcIndexRange (component, 0, 1)); + (void) component; + Assert(component == 0, ExcIndexRange(component, 0, 1)); for (unsigned int i=0; i