Skip to content

Commit

Permalink
rust: Fixed an unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux authored and gatecat committed Jan 4, 2024
1 parent cb269b4 commit 6a9ad61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/rust.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ extern "C" {
#ifdef ARCH_ECP5
bool npnr_netinfo_is_global(NetInfo *net) { return net->is_global; }
#else
bool npnr_netinfo_is_global(NetInfo *net) { return false; }
bool npnr_netinfo_is_global(NetInfo * /*net*/) { return false; }
#endif

int32_t npnr_netinfo_udata(NetInfo *net) { return net->udata; }
Expand Down

0 comments on commit 6a9ad61

Please sign in to comment.