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=refs%2Fpull%2F13118%2Fhead;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();