Skip to content

Commit 2840290

Browse files
authored
Merge pull request #2189 from hzeller/20221103-tell-compiler-about-fallthrough
Tell compiler about intentional fallthrough.
2 parents 5557dce + 41a2767 commit 2840290

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vpr/src/pack/pb_type_graph.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ static void alloc_and_load_interconnect_pins(t_interconnect_pins* interc_pins,
639639
case DIRECT_INTERC: /* intentionally fallthrough */
640640
VTR_ASSERT(num_output_sets == 1);
641641
/* intentionally fallthrough */
642+
[[fallthrough]];
642643
case MUX_INTERC:
643644
if (!interconnect->interconnect_power->port_info_initialized) {
644645
for (set_idx = 0; set_idx < num_input_sets; set_idx++) {

0 commit comments

Comments
 (0)