From dc37508284589c331cbd0eb691b8dbd34dba17d8 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 25 Aug 2024 21:45:13 -0400 Subject: [PATCH] getconf: fix Linux warnings --- sys/getconf.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/getconf.rs b/sys/getconf.rs index 992632ae3..27513f7de 100644 --- a/sys/getconf.rs +++ b/sys/getconf.rs @@ -90,8 +90,8 @@ fn handle_sysconf( #[cfg(target_os = "linux")] fn handle_confstr( - var: &str, - confstr_mappings: &HashMap<&'static str, libc::c_int>, + _var: &str, + _confstr_mappings: &HashMap<&'static str, libc::c_int>, ) -> Result<(), Box> { Err(Box::new(std::io::Error::new( std::io::ErrorKind::Other,