From: bangerth Date: Tue, 30 Sep 2008 18:58:11 +0000 (+0000) Subject: Remove some old code meant to suppress warnings that now produces warnings itself. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d853d140e7edbabd1833a7083423b9a6ce0279c8;p=dealii-svn.git Remove some old code meant to suppress warnings that now produces warnings itself. git-svn-id: https://svn.dealii.org/trunk@17062 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_renumbering.cc b/deal.II/deal.II/source/dofs/dof_renumbering.cc index e53a2b9f5b..d1f7ea21d1 100644 --- a/deal.II/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/deal.II/source/dofs/dof_renumbering.cc @@ -63,31 +63,6 @@ extern "C" long int lrand48 (void); DEAL_II_NAMESPACE_OPEN -namespace internal -{ - // the following function is sorta - // stupid: gcc complains that the - // variables _3, _4, ... declared - // in - // contrib/boost/include/boost/bind/placeholders.hpp - // are unused. _1 and _2 are - // apparently used, so this isn't a - // problem. to suppress the warning - // in this case, write a dummy - // function that simply references - // these variables in an - // unobtrusive way... - void avoid_warning_about_unused_variables () - { - std::printf ("%p %p %p %p %p %p %p", - (void*)&_3, (void*)&_4, - (void*)&_5,(void*) &_6, - (void*)&_7,(void*) &_8, - (void*)&_9); - } -} - - namespace DoFRenumbering { namespace internal