From 6a9ad61051e6beb63d201afc7d3e63de62e0cebf Mon Sep 17 00:00:00 2001 From: dragonmux Date: Wed, 3 Jan 2024 15:08:48 +0000 Subject: [PATCH] rust: Fixed an unused parameter warning --- rust/rust.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/rust.cc b/rust/rust.cc index cb486233..f747d401 100644 --- a/rust/rust.cc +++ b/rust/rust.cc @@ -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; }