Skip to content

Commit 76ee6a9

Browse files
Zhenhuan Zhangfacebook-github-bot
Zhenhuan Zhang
authored andcommitted
Fix unsafe fallthrough at fbcode/fbpcf/scheduler/gate_keeper/BatchCompositeGate.h:63 (#533)
Summary: Pull Request resolved: #533 details in T179856888 **context** LLVM has detected an implicit fallthrough near fbcode/fbpcf/scheduler/gate_keeper/BatchCompositeGate.h:63. Implicit fallthroughs have a very high bug rate, so we are making them a compiler error by default. Reviewed By: ztlbells Differential Revision: D54025656 fbshipit-source-id: 4a2c501c17063b2bb0a91489df169544b59ab75f
1 parent 3e809b2 commit 76ee6a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fbpcf/scheduler/gate_keeper/BatchCompositeGate.h

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class BatchCompositeGate final : public ICompositeGate {
5858
engine.computeBatchFreeAND(
5959
leftValues, wireKeeper_.getBatchBooleanValue(rights_[i])));
6060
}
61+
break;
6162
}
6263

6364
case GateType::NonFreeAnd: {

0 commit comments

Comments
 (0)