Skip to content

Commit fa3f524

Browse files
committed
Fixed a few Warnings due to variables not in use
Signed-off-by: Ethan Rogers <[email protected]>
1 parent 967d257 commit fa3f524

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vpr/src/power/power.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ static void power_usage_routing(t_power_usage* power_usage,
824824
for (t_edge_size edge_idx = 0; edge_idx < node.num_edges(); edge_idx++) {
825825
const auto& next_node_id = node.edge_sink_node(edge_idx);
826826
if (next_node_id != OPEN) {
827-
auto next_node = device_ctx.rr_nodes[next_node_id];
828827
t_rr_node_power* next_node_power = &rr_node_power[next_node_id];
829828

830829
switch (rr_graph.node_type(RRNodeId(next_node_id))) {
@@ -1364,7 +1363,6 @@ bool power_uninit() {
13641363
bool error = false;
13651364

13661365
for (size_t rr_node_idx = 0; rr_node_idx < device_ctx.rr_nodes.size(); rr_node_idx++) {
1367-
auto node = device_ctx.rr_nodes[rr_node_idx];
13681366
t_rr_node_power* node_power = &rr_node_power[rr_node_idx];
13691367

13701368
switch (rr_graph.node_type(RRNodeId(rr_node_idx))) {

0 commit comments

Comments
 (0)