Skip to content

Commit d8a0e07

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

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
@@ -604,6 +604,7 @@ bool Simplify(const std::vector<char>& code,
604604
break;
605605
}
606606
}
607+
[[fallthrough]];
607608
default: {
608609
simplified->push_back(code[i]);
609610
break;

0 commit comments

Comments
 (0)