Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48608 - in branches/release/boost/mpi: . collectives
From: dgregor_at_[hidden]
Date: 2008-09-05 09:29:32


Author: dgregor
Date: 2008-09-05 09:29:32 EDT (Fri, 05 Sep 2008)
New Revision: 48608
URL: http://svn.boost.org/trac/boost/changeset/48608

Log:
Silence unused-variable warnings. Fixes #2202
Text files modified:
   branches/release/boost/mpi/collectives/all_reduce.hpp | 2 +-
   branches/release/boost/mpi/packed_iarchive.hpp | 2 +-
   branches/release/boost/mpi/packed_oarchive.hpp | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/boost/mpi/collectives/all_reduce.hpp
==============================================================================
--- branches/release/boost/mpi/collectives/all_reduce.hpp (original)
+++ branches/release/boost/mpi/collectives/all_reduce.hpp 2008-09-05 09:29:32 EDT (Fri, 05 Sep 2008)
@@ -27,7 +27,7 @@
   template<typename T, typename Op>
   void
   all_reduce_impl(const communicator& comm, const T* in_values, int n,
- T* out_values, Op op, mpl::true_ /*is_mpi_op*/,
+ T* out_values, Op /*op*/, mpl::true_ /*is_mpi_op*/,
                   mpl::true_ /*is_mpi_datatype*/)
   {
     BOOST_MPI_CHECK_RESULT(MPI_Allreduce,

Modified: branches/release/boost/mpi/packed_iarchive.hpp
==============================================================================
--- branches/release/boost/mpi/packed_iarchive.hpp (original)
+++ branches/release/boost/mpi/packed_iarchive.hpp 2008-09-05 09:29:32 EDT (Fri, 05 Sep 2008)
@@ -100,7 +100,7 @@
 
   // Load it directly using the primnivites
   template<class T>
- void load_override(T& x, int version, mpl::true_)
+ void load_override(T& x, int /*version*/, mpl::true_)
   {
     iprimitive::load(x);
   }

Modified: branches/release/boost/mpi/packed_oarchive.hpp
==============================================================================
--- branches/release/boost/mpi/packed_oarchive.hpp (original)
+++ branches/release/boost/mpi/packed_oarchive.hpp 2008-09-05 09:29:32 EDT (Fri, 05 Sep 2008)
@@ -90,7 +90,7 @@
 
   // Save it directly using the primnivites
   template<class T>
- void save_override(T const& x, int version, mpl::true_)
+ void save_override(T const& x, int /*version*/, mpl::true_)
   {
     oprimitive::save(x);
   }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk