]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around compiler warnings in boost library.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 27 Jun 2011 17:34:23 +0000 (17:34 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 27 Jun 2011 17:34:23 +0000 (17:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@23872 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/boost-1.46.1/include/boost/signals2/detail/variadic_slot_invoker.hpp
deal.II/contrib/boost-1.46.1/libs/serialization/src/basic_serializer_map.cpp

index 08059b5d0a180e78f5bc2d728cce022481551044..e6ed07a922c80b897769851cde8984d73b1df185 100644 (file)
@@ -80,6 +80,7 @@ namespace boost
         template<typename Func, unsigned ... indices, typename ... Args>
           R m_invoke(void *, Func &func, unsigned_meta_array<indices...>, std::tuple<Args...> args) const
         {
+         (void)args;
           func(std::get<indices>(args)...);
           return R();
         }
index 80e805fabd4a4357c4453daeada0ac40539a34c5..886dda6b8e87e1f2cdbf729cad14197d9ffc751d 100644 (file)
@@ -45,6 +45,7 @@ basic_serializer_map::insert(const basic_serializer * bs){
     // attempt to insert serializer into it's map
     const std::pair<map_type::iterator, bool> result =
         m_map.insert(bs);
+    (void)result;
     // the following is commented out - rather than being just
     // deleted as a reminder not to try this.
 

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.