Skip to content

Commit c9bebe3

Browse files
committed
Tell compiler about intentional fallthrough.
Signed-off-by: Henner Zeller <hzeller@google.com>
1 parent 90e87dd commit c9bebe3

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
@@ -592,6 +592,7 @@ static void alloc_and_load_interconnect_pins(t_interconnect_pins* interc_pins,
592592
case DIRECT_INTERC: /* intentionally fallthrough */
593593
VTR_ASSERT(num_output_sets == 1);
594594
/* intentionally fallthrough */
595+
[[fallthrough]];
595596
case MUX_INTERC:
596597
if (!interconnect->interconnect_power->port_info_initialized) {
597598
for (set_idx = 0; set_idx < num_input_sets; set_idx++) {

0 commit comments

Comments
 (0)