Skip to content

Commit

Permalink
Remove no-longer-referenced ringingOnCurrTimeStep
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Jan 7, 2025
1 parent b8d72a9 commit a55cffa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions src/Infrastructure/TimeMgr/include/ESMCI_Alarm.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@ class Alarm {
// number of time steps.

bool ringing; // (TMG 4.4) currently ringing
bool ringingOnCurrTimeStep; // was ringing immediately after
// current clock timestep.
// (could have been turned off
// later due to RingerOff or
// Disable commands or
// non-sticky alarm expiration).
bool ringingOnPrevTimeStep; // was ringing immediately after
// previous clock timestep.
bool userChangedRingTime; // true if changed via Set(),
Expand Down
2 changes: 1 addition & 1 deletion src/Infrastructure/TimeMgr/src/ESMCI_Alarm.C
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ void Alarm::clockChangeDirection(const ESMC_Direction & old_direction,
clock = ESMC_NULL_POINTER;
ringTimeStepCount = 1;
timeStepRingingCount = 0;
ringing = ringingOnCurrTimeStep = ringingOnPrevTimeStep = false;
ringing = ringingOnPrevTimeStep = false;
userChangedRingTime = false;
userChangedRingInterval = false;
enabled = true;
Expand Down

0 comments on commit a55cffa

Please sign in to comment.