From: Wolfgang Bangerth Date: Tue, 28 Dec 2021 05:32:10 +0000 (-0700) Subject: Avoid a warning about an unused variable. X-Git-Tag: v9.4.0-rc1~698^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0f0a863582f8f6e2decc9a446541b9dce7e19f;p=dealii.git Avoid a warning about an unused variable. --- 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();