From: wolf Date: Thu, 24 Feb 2000 13:24:29 +0000 (+0000) Subject: Avoid compiler warning. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c991bb8b0a263dc7cd69cca643dad64c34f49eeb;p=dealii-svn.git Avoid compiler warning. git-svn-id: https://svn.dealii.org/trunk@2492 0785d39b-7218-0410-832d-ea1e28bc413d --- 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