Skip to content

Commit a1d213e

Browse files
committed
Remove the input argument from the function alloc_and_load_is_clock which was causing a compile warning
1 parent 904d190 commit a1d213e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vpr/src/pack/pack.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ bool try_pack(t_packer_opts* packer_opts,
5656
helper_ctx.num_models = count_models(user_models);
5757
helper_ctx.num_models += count_models(library_models);
5858

59-
is_clock = alloc_and_load_is_clock(packer_opts->global_clocks);
59+
is_clock = alloc_and_load_is_clock();
6060
is_global.insert(is_clock.begin(), is_clock.end());
6161

6262
size_t num_p_inputs = 0;
@@ -299,10 +299,9 @@ float get_arch_switch_info(short switch_index, int switch_fanin, float& Tdel_swi
299299
return Tdel_switch + R_switch * Cout_switch;
300300
}
301301

302-
std::unordered_set<AtomNetId> alloc_and_load_is_clock(bool global_clocks) {
302+
std::unordered_set<AtomNetId> alloc_and_load_is_clock() {
303303
/* Looks through all the atom blocks to find and mark all the clocks, by setting
304304
* the corresponding entry by adding the clock to is_clock.
305-
* global_clocks is used
306305
* only for an error check. */
307306

308307
int num_clocks = 0;

0 commit comments

Comments
 (0)