From: wolf Date: Mon, 17 Jan 2000 13:39:46 +0000 (+0000) Subject: Cleanup code. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64fb9dfc4e52a3d78a3c0b80cc0fbb992f4f2be;p=dealii-svn.git Cleanup code. git-svn-id: https://svn.dealii.org/trunk@2231 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 }