Skip to content

Commit

Permalink
Add fallthrough explicitly to pass CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Nov 17, 2023
1 parent a11c12c commit f878b07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ninja-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -e
# Auto-generated by configure, do not edit
args=(-C "$(dirname "$0")/out/configured")
exec ninja "${args[@]}" "$@"
1 change: 1 addition & 0 deletions src/app/bdx/DiagnosticLogsBDXTransferHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ void DiagnosticLogsBDXTransferHandler::HandleTransferSessionOutput(TransferSessi
break;
case TransferSession::OutputEventType::kStatusReceived:
ChipLogError(BDX, "Got StatusReport %x", to_underlying(event.statusData.statusCode));
[[fallthrough]];
case TransferSession::OutputEventType::kInternalError:
case TransferSession::OutputEventType::kTransferTimeout:
HandleBDXError(CHIP_ERROR_INTERNAL);
Expand Down

0 comments on commit f878b07

Please sign in to comment.