From 8f0f0a863582f8f6e2decc9a446541b9dce7e19f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 27 Dec 2021 22:32:10 -0700 Subject: [PATCH] Avoid a warning about an unused variable. --- source/base/data_out_base.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index f924359703..5ded5afceb 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -4104,7 +4104,8 @@ namespace DataOutBase if (patches.size() == 0) return; #endif - constexpr int dim = 2; + constexpr int dim = 2; + (void)dim; constexpr int spacedim = 2; const unsigned int n_data_sets = data_names.size(); -- 2.39.5