From 256a49007a396cb51b1f5d536ad1289a2088b812 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Tue, 27 Aug 2019 19:13:43 +0200 Subject: [PATCH] Remove unused variable warning --- source/distributed/solution_transfer.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/distributed/solution_transfer.cc b/source/distributed/solution_transfer.cc index af72125dbd..222884d101 100644 --- a/source/distributed/solution_transfer.cc +++ b/source/distributed/solution_transfer.cc @@ -61,7 +61,10 @@ namespace const unsigned int dofs_per_cell) { for (const auto &values : dof_values) - AssertDimension(values.size(), dofs_per_cell); + { + AssertDimension(values.size(), dofs_per_cell); + (void)values; + } const std::size_t bytes_per_entry = sizeof(value_type) * dofs_per_cell; -- 2.39.5