From 9c0aa99866fac859b0585e11bce194a65dba79c3 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Tue, 14 Dec 2021 08:03:48 -0800 Subject: [PATCH] Address review comments --- src/app/clusters/user-label-server/user-label-server.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/clusters/user-label-server/user-label-server.cpp b/src/app/clusters/user-label-server/user-label-server.cpp index d5caa4b83e6c59..ad3cd4952142a7 100644 --- a/src/app/clusters/user-label-server/user-label-server.cpp +++ b/src/app/clusters/user-label-server/user-label-server.cpp @@ -82,13 +82,11 @@ CHIP_ERROR UserLabelAttrAccess::Read(const ConcreteReadAttributePath & aPath, At switch (aPath.mAttributeId) { - case LabelList::Id: { + case LabelList::Id: return ReadLabelList(aPath.mEndpointId, aEncoder); - } - default: { + default: break; } - } return CHIP_NO_ERROR; } } // anonymous namespace