clippy: fix Mutex with unused value
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
3d8cd0ced7
commit
81b2a87232
@ -18,7 +18,7 @@ pub struct ChunkStore {
|
||||
name: String, // used for error reporting
|
||||
pub (crate) base: PathBuf,
|
||||
chunk_dir: PathBuf,
|
||||
mutex: Mutex<bool>,
|
||||
mutex: Mutex<()>,
|
||||
locker: Arc<Mutex<tools::ProcessLocker>>,
|
||||
}
|
||||
|
||||
@ -143,7 +143,7 @@ impl ChunkStore {
|
||||
base,
|
||||
chunk_dir,
|
||||
locker,
|
||||
mutex: Mutex::new(false)
|
||||
mutex: Mutex::new(())
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user