From 8e94baa5de86475ab321314db44cfd6d9c52f536 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 25 Jul 2024 19:42:53 +0000 Subject: [PATCH] Restyled by clang-format --- .../all-clusters-common/src/WhmDelegateImpl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp b/examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp index cf19cc16731ed5..a38a1d46c8a6b7 100644 --- a/examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp +++ b/examples/all-clusters-app/all-clusters-common/src/WhmDelegateImpl.cpp @@ -361,7 +361,6 @@ bool WaterHeaterManagementDelegate::HasWaterTemperatureReachedTarget() const (mBoostState == BoostStateEnum::kActive && mBoostTargetPercentage.HasValue()) ? mBoostTargetPercentage.Value() : 100; } - // Determine whether the water is at the target temperature bool tempReached = true; if (mpWhmInstance != nullptr && mpWhmInstance->HasFeature(Feature::kTankPercent)) @@ -377,7 +376,6 @@ bool WaterHeaterManagementDelegate::HasWaterTemperatureReachedTarget() const tempReached = false; } - return tempReached; }