Skip to content

Commit 88322f0

Browse files
committed
tools: fix missing [[fallthrough]] in js2c
The latest clang warns about this.
1 parent b1468d2 commit 88322f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/js2c.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ bool Simplify(const std::vector<char>& code,
603603
simplified_count++;
604604
break;
605605
}
606+
[[fallthrough]];
606607
}
607608
default: {
608609
simplified->push_back(code[i]);

0 commit comments

Comments
 (0)