Skip to content

Commit 5fc282c

Browse files
committed
vpr: Remove unused parameter
1 parent 5b7ec33 commit 5fc282c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/draw/intra_logic_block.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
static void draw_internal_load_coords(int type_descrip_index, t_pb_graph_node* pb_graph_node, float parent_width, float parent_height);
4141
static int draw_internal_find_max_lvl(const t_pb_type& pb_type);
4242
static void draw_internal_calc_coords(int type_descrip_index, t_pb_graph_node* pb_graph_node, int num_pb_types, int type_index, int num_pb, int pb_index, float parent_width, float parent_height, float* blk_width, float* blk_height);
43-
static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id, const t_logical_block_type_ptr type);
43+
static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id);
4444
std::vector<AtomBlockId> collect_pb_atoms(const t_pb* pb);
4545
void collect_pb_atoms_recurr(const t_pb* pb, std::vector<AtomBlockId>& atoms);
4646
t_pb* highlight_sub_block_helper(const ClusterBlockId clb_index, t_pb* pb, const ezgl::point2d& local_pt, int max_depth);
@@ -341,7 +341,7 @@ static void draw_internal_pb(const ClusterBlockId clb_index, t_pb* pb, const ezg
341341
/// first draw box ///
342342

343343
if (pb_type->depth == 0) {
344-
if (!is_top_lvl_block_highlighted(clb_index, type)) {
344+
if (!is_top_lvl_block_highlighted(clb_index)) {
345345
// if this is a top level pb, and only if it isn't selected (ie. a funny colour),
346346
// overwrite it. (but stil draw the text)
347347

@@ -665,7 +665,7 @@ void draw_one_logical_connection(const AtomPinId src_pin, const AtomPinId sink_p
665665
/* This function checks whether a top-level clb has been highlighted. It does
666666
* so by checking whether the color in this block is default color.
667667
*/
668-
static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id, const t_logical_block_type_ptr type) {
668+
static bool is_top_lvl_block_highlighted(const ClusterBlockId blk_id) {
669669
t_draw_state* draw_state;
670670

671671
/* Call accessor function to retrieve global variables. */

0 commit comments

Comments
 (0)