From 9ce9a4405280cb9272900c9c113aa93b9c6cad47 Mon Sep 17 00:00:00 2001 From: Hanif Bin Ariffin Date: Sun, 6 Feb 2022 10:26:01 +0800 Subject: [PATCH] Silencing clippy about unused variables Signed-off-by: Hanif Bin Ariffin --- src/uu/ls/src/ls.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index aba59fe7e..d78813569 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -1857,6 +1857,7 @@ fn get_block_size(md: &Metadata, config: &Config) -> u64 { #[cfg(not(unix))] { + let _ = config; // no way to get block size for windows, fall-back to file size md.len() }