From 0406910f0e905d9651ab79675ea8d76b63c316a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Fri, 1 Feb 2013 02:31:02 +0000 Subject: [PATCH] [mpihelpertest] Avoid warning about unused variable by DUNE_UNUSED. [[Imported from SVN: r7098]] --- dune/common/test/mpihelpertest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/common/test/mpihelpertest.cc b/dune/common/test/mpihelpertest.cc index d30cad852..debfc3eb8 100644 --- a/dune/common/test/mpihelpertest.cc +++ b/dune/common/test/mpihelpertest.cc @@ -21,14 +21,14 @@ int main(int argc, char** argv) { Helper& mpi = Helper::instance(argc, argv); - Helper::MPICommunicator comm = mpi.getCommunicator(); + Helper::MPICommunicator comm DUNE_UNUSED = mpi.getCommunicator(); comm= mpi.getCommunicator(); } { Helper& mpi = Helper::instance(argc, argv); - Helper::MPICommunicator comm= mpi.getCommunicator(); + Helper::MPICommunicator comm DUNE_UNUSED = mpi.getCommunicator(); comm= mpi.getCommunicator(); #ifdef MPIHELPER_PREINITIALIZE -- GitLab