rust: Fixed an unused parameter warning

This commit is contained in:
dragonmux 2024-01-03 15:08:48 +00:00 committed by myrtle
parent cb269b46d6
commit 6a9ad61051

View File

@ -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; }