From: Guido Kanschat Date: Thu, 22 Aug 2013 14:32:06 +0000 (+0000) Subject: remove warning X-Git-Tag: v8.1.0~1004 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf7960830a66f3839e1c73e833495ad1189f0b2;p=dealii.git remove warning git-svn-id: https://svn.dealii.org/trunk@30420 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/fe/fe_q_base.cc b/deal.II/source/fe/fe_q_base.cc index 0fa2931eb9..6a73cb86ff 100644 --- a/deal.II/source/fe/fe_q_base.cc +++ b/deal.II/source/fe/fe_q_base.cc @@ -522,8 +522,7 @@ get_interpolation_matrix (const FiniteElement &x_source_fe, Assert (std::fabs(sum-1) < eps, ExcInternalError()); } } - else if (const FE_Nothing *source_fe - = dynamic_cast*>(&x_source_fe)) + else if (dynamic_cast*>(&x_source_fe)) { // the element we want to interpolate from is an FE_Nothing. this // element represents a function that is constant zero and has no