From: Wolfgang Bangerth Date: Mon, 4 Apr 2016 21:18:50 +0000 (-0500) Subject: Avoid warnings about unused variables. X-Git-Tag: v8.5.0-rc1~1141^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d86dcaf680cd1f0cf0d9e10e60e1c6d8d6428c6a;p=dealii.git Avoid warnings about unused variables. --- diff --git a/include/deal.II/multigrid/mg_transfer.templates.h b/include/deal.II/multigrid/mg_transfer.templates.h index 4d285809d0..ead4d5e596 100644 --- a/include/deal.II/multigrid/mg_transfer.templates.h +++ b/include/deal.II/multigrid/mg_transfer.templates.h @@ -273,6 +273,7 @@ MGLevelGlobalTransfer::copy_from_mg OutVector &dst, const MGLevelObject &src) const { + (void)mg_dof_handler; AssertIndexRange(src.max_level(), mg_dof_handler.get_triangulation().n_global_levels()); AssertIndexRange(src.min_level(), src.max_level()+1); if (perform_plain_copy) @@ -329,7 +330,7 @@ template template void MGLevelGlobalTransfer::copy_from_mg_add -(const DoFHandler &mg_dof_handler, +(const DoFHandler &/*mg_dof_handler*/, OutVector &dst, const MGLevelObject &src) const { @@ -448,6 +449,7 @@ MGLevelGlobalTransfer >::copy_from_mg parallel::distributed::Vector &dst, const MGLevelObject > &src) const { + (void)mg_dof_handler; AssertIndexRange(src.max_level(), mg_dof_handler.get_triangulation().n_global_levels()); AssertIndexRange(src.min_level(), src.max_level()+1); if (perform_plain_copy) @@ -504,7 +506,7 @@ template template void MGLevelGlobalTransfer >::copy_from_mg_add -(const DoFHandler &mg_dof_handler, +(const DoFHandler &/*mg_dof_handler*/, parallel::distributed::Vector &dst, const MGLevelObject > &src) const {