Skip to content

Commit df62ffc

Browse files
committed
fixed another warning and merged upstream changes
1 parent b1967b2 commit df62ffc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

vpr/src/draw/draw_rr.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ void draw_rr_edges(int inode, ezgl::renderer* g) {
297297
auto rr_node = RRNodeId(inode);
298298

299299
t_rr_type from_type, to_type;
300-
int to_node, from_ptc_num, to_ptc_num;
300+
int to_node;
301301
short switch_type;
302302

303303
from_type = rr_graph.node_type(rr_node);
@@ -308,12 +308,9 @@ void draw_rr_edges(int inode, ezgl::renderer* g) {
308308
return; /* Nothing to draw. */
309309
}
310310

311-
from_ptc_num = rr_graph.node_ptc_num(rr_node);
312-
313311
for (t_edge_size iedge = 0, l = rr_graph.num_edges(RRNodeId(inode)); iedge < l; iedge++) {
314312
to_node = size_t(rr_graph.edge_sink_node(rr_node, iedge));
315313
to_type = rr_graph.node_type(RRNodeId(to_node));
316-
to_ptc_num = rr_graph.node_ptc_num(RRNodeId(to_node));
317314
bool edge_configurable = rr_graph.edge_is_configurable(RRNodeId(inode), iedge);
318315

319316
switch (from_type) {

0 commit comments

Comments
 (0)