From b64fb9dfc4e52a3d78a3c0b80cc0fbb992f4f2be Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 17 Jan 2000 13:39:46 +0000 Subject: [PATCH] Cleanup code. git-svn-id: https://svn.dealii.org/trunk@2231 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/time_dependent.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deal.II/deal.II/source/numerics/time_dependent.cc b/deal.II/deal.II/source/numerics/time_dependent.cc index cfb3b7a383..dbca98e07c 100644 --- a/deal.II/deal.II/source/numerics/time_dependent.cc +++ b/deal.II/deal.II/source/numerics/time_dependent.cc @@ -203,11 +203,7 @@ void TimeDependent::start_sweep (const unsigned int s) -void TimeDependent::end_sweep (const unsigned int -#ifdef DEAL_II_USE_MT - n_threads -#endif -) +void TimeDependent::end_sweep (const unsigned int n_threads) { #ifdef DEAL_II_USE_MT // set up the data needed by each @@ -233,6 +229,10 @@ void TimeDependent::end_sweep (const unsigned int thread_manager.wait(); #else + // ignore this parameter, but don't + // let the compiler warn + (void) n_threads; + // now do the work end_sweep (0, timesteps.size()); #endif } -- 2.39.5