Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbreton committed Aug 8, 2023
1 parent 58eff19 commit 6565bda
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/clusters/scenes-server/scenes-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,7 @@ void ScenesServer::GroupWillBeRemoved(FabricIndex aFabricIx, EndpointId aEndpoin
chip::GroupId currentGroup;
Attributes::CurrentGroup::Get(aEndpointId, &currentGroup);

chip::SceneId currentScene;
Attributes::CurrentScene::Get(aEndpointId, &currentScene);

// Validate if the Current Group = RemovedGroup before invalidating the scene.
SceneTableEntry entry;
if (aGroupId == currentGroup)
{
MakeSceneInvalid(aEndpointId);
Expand Down

0 comments on commit 6565bda

Please sign in to comment.