From 529a93bee9feff81a17ee06c4b7fe8e0ea327b7a Mon Sep 17 00:00:00 2001 From: tangxifan Date: Thu, 17 Oct 2024 12:34:11 -0700 Subject: [PATCH] [core] resolve compiler warning --- openfpga/src/annotation/openfpga_annotate_routing.cpp | 1 - openfpga/src/annotation/openfpga_annotate_routing.h | 1 - openfpga/src/base/openfpga_link_arch_template.h | 1 - 3 files changed, 3 deletions(-) diff --git a/openfpga/src/annotation/openfpga_annotate_routing.cpp b/openfpga/src/annotation/openfpga_annotate_routing.cpp index 2496de8b7..48c8d732f 100644 --- a/openfpga/src/annotation/openfpga_annotate_routing.cpp +++ b/openfpga/src/annotation/openfpga_annotate_routing.cpp @@ -111,7 +111,6 @@ vtr::vector annotate_rr_node_global_net( *******************************************************************/ void annotate_vpr_rr_node_nets(const DeviceContext& device_ctx, const ClusteringContext& clustering_ctx, - const RoutingContext& routing_ctx, VprRoutingAnnotation& vpr_routing_annotation, const bool& verbose) { vtr::vector node2net = diff --git a/openfpga/src/annotation/openfpga_annotate_routing.h b/openfpga/src/annotation/openfpga_annotate_routing.h index 8c9f0e40a..b8f5a83e7 100644 --- a/openfpga/src/annotation/openfpga_annotate_routing.h +++ b/openfpga/src/annotation/openfpga_annotate_routing.h @@ -23,7 +23,6 @@ vtr::vector annotate_rr_node_global_net( void annotate_vpr_rr_node_nets(const DeviceContext& device_ctx, const ClusteringContext& clustering_ctx, - const RoutingContext& routing_ctx, VprRoutingAnnotation& vpr_routing_annotation, const bool& verbose); diff --git a/openfpga/src/base/openfpga_link_arch_template.h b/openfpga/src/base/openfpga_link_arch_template.h index 9898d5f75..eb289c471 100644 --- a/openfpga/src/base/openfpga_link_arch_template.h +++ b/openfpga/src/base/openfpga_link_arch_template.h @@ -90,7 +90,6 @@ int link_arch_template(T& openfpga_ctx, const Command& cmd, // rr_graph from an external file g_vpr_ctx.mutable_device().rr_graph_builder.build_in_edges(); annotate_vpr_rr_node_nets(g_vpr_ctx.device(), g_vpr_ctx.clustering(), - g_vpr_ctx.routing(), openfpga_ctx.mutable_vpr_routing_annotation(), cmd_context.option_enable(cmd, opt_verbose));