From 2e031448f4255c0b8599f32c15cb6226db87d824 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Thu, 30 Aug 2012 10:26:58 -0400 Subject: Carpet: Remove unused variable --- Carpet/Carpet/src/Timing.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Carpet/Carpet/src/Timing.cc b/Carpet/Carpet/src/Timing.cc index 07454a72c..ccdfd3f71 100644 --- a/Carpet/Carpet/src/Timing.cc +++ b/Carpet/Carpet/src/Timing.cc @@ -417,7 +417,7 @@ namespace Carpet { static int last_iteration = -1; static size_t num_samples = 0; - static CCTK_REAL last_physical_time; + // static CCTK_REAL last_physical_time; static CCTK_REAL last_time_evolution; assert (cctk_iteration > last_iteration); // expect progress @@ -435,7 +435,7 @@ namespace Carpet { } else if (num_samples < 3 or * time_evolution < 0.01 * timing_average_window_minutes * 60.0) { - // Less than three previous samples are available, or less thatn + // Less than three previous samples are available, or less than // one percent of a window of past data are available * current_physical_time_per_hour = * physical_time_per_hour; } else { @@ -451,7 +451,7 @@ namespace Carpet { // Remember last iteration last_iteration = cctk_iteration; ++ num_samples; - last_physical_time = physical_time; + // last_physical_time = physical_time; last_time_evolution = * time_evolution; } -- cgit v1.2.3