[pve-devel] [PATCH proxmox-firewall] tests: integration: silence warning about unused variable

Christoph Heiss c.heiss at proxmox.com
Tue Feb 25 11:28:50 CET 2025


It's just a stub method, so this gets never used.

Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
---
 proxmox-firewall/tests/integration_tests.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-firewall/tests/integration_tests.rs b/proxmox-firewall/tests/integration_tests.rs
index 61a8062..1c014ad 100644
--- a/proxmox-firewall/tests/integration_tests.rs
+++ b/proxmox-firewall/tests/integration_tests.rs
@@ -87,7 +87,7 @@ impl FirewallConfigLoader for MockFirewallConfigLoader {
 
     fn bridge_firewall_config(
         &self,
-        bridge_name: &BridgeName,
+        _bridge_name: &BridgeName,
     ) -> Result<Option<Box<dyn std::io::BufRead>>, Error> {
         Ok(None)
     }
-- 
2.47.1





More information about the pve-devel mailing list