Skip to content

Commit

Permalink
Shadow var and unused
Browse files Browse the repository at this point in the history
  • Loading branch information
rraustad committed Aug 22, 2024
1 parent b880941 commit 59a7fcc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/EnergyPlus/Fans.cc
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ void GetFanInput(EnergyPlusData &state)
} // end Number of Component Model FAN Loop

for (int SystemFanNum = 1; SystemFanNum <= NumSystemModelFan; ++SystemFanNum) {
constexpr std::string_view cCurrentModuleObject = "Fan:SystemModel";
cCurrentModuleObject = "Fan:SystemModel";

ip->getObjectItem(state,
cCurrentModuleObject,
Expand Down Expand Up @@ -1343,8 +1343,7 @@ void FanComponent::set_size(EnergyPlusData &state)
static constexpr std::string_view routineName = "FanComponent::set_size()"; // include trailing blank space

// SUBROUTINE LOCAL VARIABLE DECLARATIONS:
bool _bPRINT = true; // TRUE if sizing is reported to output (eio)
int NumFansSized = 0; // counter used to deallocate temporary string array after all fans have been sized
bool _bPRINT = true; // TRUE if sizing is reported to output (eio)

std::string SizingString = sizingPrefix + " [m3/s]";

Expand Down

0 comments on commit 59a7fcc

Please sign in to comment.