From: Daniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
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=d7c4894fa1503cb5a2aa0cea358c09dc0226ce0d;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<Zoltan> zz = std_cxx14::make_unique<Zoltan>(MPI_COMM_SELF);