Skip to content

Commit

Permalink
Remove unused capture in sampleMEI cluster lambda (#31572)
Browse files Browse the repository at this point in the history
which caused compilation failure due to warning
  • Loading branch information
erwinpan1 authored Jan 20, 2024
1 parent ca17912 commit e0fa3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/sample-mei-server/sample-mei-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void SampleMeiServer::InvokeCommand(HandlerContext & ctxt)
{
case Commands::Ping::Id:
HandleCommand<Commands::Ping::DecodableType>(
ctxt, [this, endpoint, fabricIndex, endpointIndex, ctxt](HandlerContext & ctx, const auto & req) {
ctxt, [this, endpoint, fabricIndex, endpointIndex](HandlerContext & ctx, const auto & req) {
ChipLogProgress(Zcl, "Ping Command on Ep %d", endpoint);
Events::PingCountEvent::Type event{ .count = content[endpointIndex].pingCount++, .fabricIndex = fabricIndex };
chip::EventNumber placeholderEventNumber;
Expand Down

0 comments on commit e0fa3c6

Please sign in to comment.