Skip to content

Commit

Permalink
Merge pull request #2189 from hzeller/20221103-tell-compiler-about-fa…
Browse files Browse the repository at this point in the history
…llthrough

Tell compiler about intentional fallthrough.
  • Loading branch information
vaughnbetz authored Apr 28, 2023
2 parents 5557dce + 41a2767 commit 2840290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vpr/src/pack/pb_type_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ static void alloc_and_load_interconnect_pins(t_interconnect_pins* interc_pins,
case DIRECT_INTERC: /* intentionally fallthrough */
VTR_ASSERT(num_output_sets == 1);
/* intentionally fallthrough */
[[fallthrough]];
case MUX_INTERC:
if (!interconnect->interconnect_power->port_info_initialized) {
for (set_idx = 0; set_idx < num_input_sets; set_idx++) {
Expand Down

0 comments on commit 2840290

Please sign in to comment.