From baa89d4a3d259aaac1611381b17a512b8bd9b0e9 Mon Sep 17 00:00:00 2001 From: "Michael J. Witte" Date: Mon, 29 Jul 2024 14:31:06 -0500 Subject: [PATCH] Fix false warnings --- src/EnergyPlus/FluidProperties.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EnergyPlus/FluidProperties.cc b/src/EnergyPlus/FluidProperties.cc index a27751e06b6..2fb88c72643 100644 --- a/src/EnergyPlus/FluidProperties.cc +++ b/src/EnergyPlus/FluidProperties.cc @@ -2843,13 +2843,13 @@ namespace FluidProperties { // and linearly interpolates the corresponding saturation temperature values. // Return value - Real64 ReturnValue; + Real64 ReturnValue = 0.0; // FUNCTION PARAMETER DEFINITIONS: static constexpr std::string_view routineName = "RefrigProps::getSatTemperature"; // FUNCTION LOCAL VARIABLE DECLARATIONS: - bool ErrorFlag; // error flag for current call + bool ErrorFlag = false; // error flag for current call auto &df = state.dataFluidProps;