Silencing clippy about unused variables

Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.43262@gmail.com>
This commit is contained in:
Hanif Bin Ariffin 2022-02-06 10:26:01 +08:00
parent ff1d1c3b19
commit 9ce9a44052

View file

@ -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()
}