Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jun 8, 2022
1 parent 5c7a25d commit c2b4d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/tests/TestServerCommandDispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ void TestCommandInteraction::TestDataResponseHelper(nlTestSuite * apSuite, void
}
onSuccessWasCalled = true;
};
auto readFailureCb = [apSuite, &onFailureWasCalled](const ConcreteDataAttributePath *, CHIP_ERROR aError) {
auto readFailureCb = [&onFailureWasCalled](const ConcreteDataAttributePath *, CHIP_ERROR aError) {
onFailureWasCalled = true;
ChipLogError(NotSpecified, "TEST FAILURE: %" CHIP_ERROR_FORMAT, aError.Format());
};
Expand Down

0 comments on commit c2b4d85

Please sign in to comment.