Skip to content

Commit 9f2d066

Browse files
authored
Merge pull request #195 from rustcoreutils/warnings
getconf: fix Linux warnings
2 parents a698e88 + dc37508 commit 9f2d066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sys/getconf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ fn handle_sysconf(
9090

9191
#[cfg(target_os = "linux")]
9292
fn handle_confstr(
93-
var: &str,
94-
confstr_mappings: &HashMap<&'static str, libc::c_int>,
93+
_var: &str,
94+
_confstr_mappings: &HashMap<&'static str, libc::c_int>,
9595
) -> Result<(), Box<dyn std::error::Error>> {
9696
Err(Box::new(std::io::Error::new(
9797
std::io::ErrorKind::Other,

0 commit comments

Comments
 (0)