From d853d140e7edbabd1833a7083423b9a6ce0279c8 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 30 Sep 2008 18:58:11 +0000 Subject: [PATCH] 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 --- .../deal.II/source/dofs/dof_renumbering.cc | 25 ------------------- 1 file changed, 25 deletions(-) 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 -- 2.39.5