]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove some old code meant to suppress warnings that now produces warnings itself.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Sep 2008 18:58:11 +0000 (18:58 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Sep 2008 18:58:11 +0000 (18:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@17062 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_renumbering.cc

index e53a2b9f5b8b1b2c0b79c9b9fa8107e62b51c447..d1f7ea21d15a6f5a0f212767951d63b7fdd7cf8d 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.