From c991bb8b0a263dc7cd69cca643dad64c34f49eeb Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 24 Feb 2000 13:24:29 +0000 Subject: [PATCH] Avoid compiler warning. git-svn-id: https://svn.dealii.org/trunk@2492 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_out.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index 55a14aeb39..6f4999b57e 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -238,6 +238,10 @@ void DataOut::build_patches (const unsigned int n_subdivisions, #ifdef DEAL_II_USE_MT const unsigned int n_threads = n_threads_; #else + // access this variable to avoid + // compiler warning about unused + // var: + (void)n_threads_; const unsigned int n_threads = 1; #endif -- 2.39.5