From ceafbbfe2dd50363af584ba6457704c4446af60c Mon Sep 17 00:00:00 2001 From: Ilja Date: Tue, 18 Aug 2015 14:04:42 -0400 Subject: [PATCH] Remove unused parameter warnings from reduce.hpp --- include/boost/mpi/collectives/reduce.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/mpi/collectives/reduce.hpp b/include/boost/mpi/collectives/reduce.hpp index 4a94d71..1e2722e 100644 --- a/include/boost/mpi/collectives/reduce.hpp +++ b/include/boost/mpi/collectives/reduce.hpp @@ -46,7 +46,7 @@ namespace detail { template void reduce_impl(const communicator& comm, const T* in_values, int n, - T* out_values, Op op, int root, mpl::true_ /*is_mpi_op*/, + T* out_values, Op /*op*/, int root, mpl::true_ /*is_mpi_op*/, mpl::true_/*is_mpi_datatype*/) { BOOST_MPI_CHECK_RESULT(MPI_Reduce, @@ -59,7 +59,7 @@ namespace detail { // datatype and operation, so we'll use MPI_Reduce directly. template void - reduce_impl(const communicator& comm, const T* in_values, int n, Op op, + reduce_impl(const communicator& comm, const T* in_values, int n, Op /*op*/, int root, mpl::true_ /*is_mpi_op*/, mpl::true_/*is_mpi_datatype*/) { BOOST_MPI_CHECK_RESULT(MPI_Reduce,