From 22372338e978b90d34c8cb930ba1f58f8f00e253 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Fri, 25 Feb 2022 23:04:30 +0100 Subject: [PATCH] [clang-tidy] Fix some bugprone-argument-comment errors (#15567) --- src/app/CommandHandler.h | 2 +- src/app/util/attribute-storage.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/CommandHandler.h b/src/app/CommandHandler.h index bf4e3d52b51780..975fdf4b9ffbdd 100644 --- a/src/app/CommandHandler.h +++ b/src/app/CommandHandler.h @@ -156,7 +156,7 @@ class CommandHandler CHIP_ERROR ProcessInvokeRequest(System::PacketBufferHandle && payload, bool isTimedInvoke); CHIP_ERROR PrepareCommand(const ConcreteCommandPath & aCommandPath, bool aStartDataStruct = true); - CHIP_ERROR FinishCommand(bool aStartDataStruct = true); + CHIP_ERROR FinishCommand(bool aEndDataStruct = true); CHIP_ERROR PrepareStatus(const ConcreteCommandPath & aCommandPath); CHIP_ERROR FinishStatus(); TLV::TLVWriter * GetCommandDataIBTLVWriter(); diff --git a/src/app/util/attribute-storage.cpp b/src/app/util/attribute-storage.cpp index c32ac2e1591683..bd439ad25823f3 100644 --- a/src/app/util/attribute-storage.cpp +++ b/src/app/util/attribute-storage.cpp @@ -968,7 +968,7 @@ bool emberAfEndpointEnableDisable(EndpointId endpoint, bool enable) // TODO: Once endpoints are in parts lists other than that of endpoint // 0, something more complicated might need to happen here. - MatterReportingAttributeChangeCallback(/* EndpointId = */ 0, app::Clusters::Descriptor::Id, + MatterReportingAttributeChangeCallback(/* endpoint = */ 0, app::Clusters::Descriptor::Id, app::Clusters::Descriptor::Attributes::PartsList::Id); }