From 29824ae228a36f64dc6055c76e3221c67d166969 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Mon, 27 Jun 2011 17:34:23 +0000 Subject: [PATCH] Work around compiler warnings in boost library. git-svn-id: https://svn.dealii.org/trunk@23872 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/boost/signals2/detail/variadic_slot_invoker.hpp | 1 + .../boost-1.46.1/libs/serialization/src/basic_serializer_map.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/deal.II/contrib/boost-1.46.1/include/boost/signals2/detail/variadic_slot_invoker.hpp b/deal.II/contrib/boost-1.46.1/include/boost/signals2/detail/variadic_slot_invoker.hpp index 08059b5d0a..e6ed07a922 100644 --- a/deal.II/contrib/boost-1.46.1/include/boost/signals2/detail/variadic_slot_invoker.hpp +++ b/deal.II/contrib/boost-1.46.1/include/boost/signals2/detail/variadic_slot_invoker.hpp @@ -80,6 +80,7 @@ namespace boost template R m_invoke(void *, Func &func, unsigned_meta_array, std::tuple args) const { + (void)args; func(std::get(args)...); return R(); } diff --git a/deal.II/contrib/boost-1.46.1/libs/serialization/src/basic_serializer_map.cpp b/deal.II/contrib/boost-1.46.1/libs/serialization/src/basic_serializer_map.cpp index 80e805fabd..886dda6b8e 100644 --- a/deal.II/contrib/boost-1.46.1/libs/serialization/src/basic_serializer_map.cpp +++ b/deal.II/contrib/boost-1.46.1/libs/serialization/src/basic_serializer_map.cpp @@ -45,6 +45,7 @@ basic_serializer_map::insert(const basic_serializer * bs){ // attempt to insert serializer into it's map const std::pair result = m_map.insert(bs); + (void)result; // the following is commented out - rather than being just // deleted as a reminder not to try this. -- 2.39.5