Skip to content

Commit a0ae80a

Browse files
author
Muhammad Haris Zafar
committed
Removing unused-but-set-variable due to compilation warnings
1 parent b674a7b commit a0ae80a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vpr/src/route/clock_network_builders.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ int ClockRib::create_chanx_wire(int x_start,
316316
RRGraphBuilder& rr_graph_builder) {
317317
rr_nodes->emplace_back();
318318
auto node_index = rr_nodes->size() - 1;
319-
auto node = rr_nodes->back();
320319
RRNodeId chanx_node = RRNodeId(node_index);
321320

322321
rr_graph_builder.set_node_type(chanx_node, CHANX);
@@ -622,7 +621,6 @@ int ClockSpine::create_chany_wire(int y_start,
622621
int num_segments) {
623622
rr_nodes->emplace_back();
624623
auto node_index = rr_nodes->size() - 1;
625-
auto node = rr_nodes->back();
626624
RRNodeId chany_node = RRNodeId(node_index);
627625

628626
rr_graph_builder.set_node_type(chany_node, CHANY);

0 commit comments

Comments
 (0)