From: Daniel Arndt Date: Wed, 18 Apr 2018 19:12:11 +0000 (+0200) Subject: Avoid warning regarding unused parameter X-Git-Tag: v9.0.0-rc1~164^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6262%2Fhead;p=dealii.git Avoid warning regarding unused parameter --- diff --git a/source/lac/sparsity_tools.cc b/source/lac/sparsity_tools.cc index 45cd0df01e..5bba13cd76 100644 --- a/source/lac/sparsity_tools.cc +++ b/source/lac/sparsity_tools.cc @@ -258,6 +258,7 @@ namespace SparsityTools Assert(cell_weights.size() == 0, ExcMessage("The cell weighting functionality for Zoltan has not yet been implemented.")); + (void) cell_weights; //MPI environment must have been initialized by this point. std::unique_ptr zz = std_cxx14::make_unique(MPI_COMM_SELF);