From 29189814141a980e8f62cf972f6f83b2303f56ad Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 28 Mar 2023 16:38:36 -0400 Subject: [PATCH] Fix bridge FALLTHROUGH annotation (#25870) Co-authored-by: Andrei Litvin --- .../dynamic-bridge-app/linux/include/data-model/DataModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dynamic-bridge-app/linux/include/data-model/DataModel.h b/examples/dynamic-bridge-app/linux/include/data-model/DataModel.h index 6f78787830e3f3..cba8d3c9907129 100644 --- a/examples/dynamic-bridge-app/linux/include/data-model/DataModel.h +++ b/examples/dynamic-bridge-app/linux/include/data-model/DataModel.h @@ -277,7 +277,7 @@ CHIP_ERROR Decode(const ConcreteDataAttributePath & aPath, AttributeValueDecoder case ConcreteDataAttributePath::ListOperation::ReplaceAll: x.clear(); - // fallthrough + FALLTHROUGH; default: x.emplace_back(); return aDecoder.Decode(x.back());