From 699770980379f30302555440ab9507bfc2108a51 Mon Sep 17 00:00:00 2001 From: Marianne Primeau Breton Date: Mon, 7 Aug 2023 15:15:27 -0400 Subject: [PATCH] restyle --- src/app/clusters/scenes-server/scenes-server.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/clusters/scenes-server/scenes-server.cpp b/src/app/clusters/scenes-server/scenes-server.cpp index 422660395926d3..1bb7a7afbce739 100644 --- a/src/app/clusters/scenes-server/scenes-server.cpp +++ b/src/app/clusters/scenes-server/scenes-server.cpp @@ -511,19 +511,19 @@ void ScenesServer::GroupWillBeRemoved(FabricIndex aFabricIx, EndpointId aEndpoin VerifyOrReturn(nullptr != sceneTable); chip::GroupId currentGroup; - Attributes::CurrentGroup::Get(aEndpointId,¤tGroup); + Attributes::CurrentGroup::Get(aEndpointId, ¤tGroup); chip::SceneId currentScene; - Attributes::CurrentScene::Get(aEndpointId,¤tScene); + Attributes::CurrentScene::Get(aEndpointId, ¤tScene); - //Validate if the Current Group = RemovedGroup or check if CurrentScene is in RemovedGroup before invalidating the scene. + // Validate if the Current Group = RemovedGroup or check if CurrentScene is in RemovedGroup before invalidating the scene. SceneTableEntry entry; - if(aGroupId == currentGroup || sceneTable->GetSceneTableEntry(aFabricIx,SceneStorageId(currentScene,currentGroup),entry) == CHIP_NO_ERROR) + if (aGroupId == currentGroup || + sceneTable->GetSceneTableEntry(aFabricIx, SceneStorageId(currentScene, currentGroup), entry) == CHIP_NO_ERROR) { MakeSceneInvalid(aEndpointId); } - VerifyOrReturn(nullptr != mGroupProvider); if (0 != aGroupId && !mGroupProvider->HasEndpoint(aFabricIx, aGroupId, aEndpointId)) {