mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Merge pull request #2022 from Xiretza/fallthroughs
Avoid switch fall-through warnings
This commit is contained in:
commit
ebfdf61eb9
5 changed files with 26 additions and 9 deletions
|
@ -91,7 +91,7 @@ std::string AstNode::process_format_str(const std::string &sformat, int next_arg
|
|||
case 'D':
|
||||
if (got_len)
|
||||
goto unsupported_format;
|
||||
/* fall through */
|
||||
YS_FALLTHROUGH
|
||||
case 'x':
|
||||
case 'X':
|
||||
if (next_arg >= GetSize(children))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue