From e0fa3c62d9b49c102be0dad4987849ba65b4caa8 Mon Sep 17 00:00:00 2001 From: Erwin Pan Date: Sat, 20 Jan 2024 12:03:47 +0800 Subject: [PATCH] Remove unused capture in sampleMEI cluster lambda (#31572) which caused compilation failure due to warning --- src/app/clusters/sample-mei-server/sample-mei-server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/clusters/sample-mei-server/sample-mei-server.cpp b/src/app/clusters/sample-mei-server/sample-mei-server.cpp index 22a8f48bdf8a00..f52aa573ece038 100644 --- a/src/app/clusters/sample-mei-server/sample-mei-server.cpp +++ b/src/app/clusters/sample-mei-server/sample-mei-server.cpp @@ -84,7 +84,7 @@ void SampleMeiServer::InvokeCommand(HandlerContext & ctxt) { case Commands::Ping::Id: HandleCommand( - 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;