From 0e19e0dc441b2481c48022856211f3471f9a6600 Mon Sep 17 00:00:00 2001 From: Kevin Schoedel <67607049+kpschoedel@users.noreply.github.com> Date: Sat, 10 Jul 2021 15:10:46 -0400 Subject: [PATCH] Fix Build on Linux (no_progress_logging) (pull_request) (#8283) #### Problem `Builds / Build on Linux (no_progress_logging) (pull_request)` fails to build due to a misplaced `break`. #### Change overview Move it. #### Testing `Builds / Build on Linux (no_progress_logging) (pull_request)` --- src/app/MessageDef/SubscribeRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/MessageDef/SubscribeRequest.cpp b/src/app/MessageDef/SubscribeRequest.cpp index c196814f788dc3..6fe2aafcb696d9 100644 --- a/src/app/MessageDef/SubscribeRequest.cpp +++ b/src/app/MessageDef/SubscribeRequest.cpp @@ -106,8 +106,8 @@ CHIP_ERROR SubscribeRequest::Parser::CheckSchemaValidity() const ReturnLogErrorOnFailure(reader.Get(minInterval)); PRETTY_PRINT("\tMinInterval = 0x%" PRIx16 ",", minInterval); } - break; #endif // CHIP_DETAIL_LOGGING + break; case kCsTag_MaxInterval: VerifyOrReturnLogError(!(TagPresenceMask & (1 << kCsTag_MaxInterval)), CHIP_ERROR_INVALID_TLV_TAG); TagPresenceMask |= (1 << kCsTag_MaxInterval);