diff options
| -rw-r--r-- | src/files.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/files.rs b/src/files.rs index 995e938..63c87fa 100644 --- a/src/files.rs +++ b/src/files.rs @@ -92,6 +92,7 @@ pub(crate) fn index_files_recursively( let newhandler = handler.clone(); + #[allow(unused_variables)] s.spawn(move || { for entry in WalkDir::new(&abspath) { if newhandler.load(Ordering::SeqCst) { @@ -118,6 +119,7 @@ pub(crate) fn index_files_recursively( while let Ok(path) = filerecv.recv() && handler.load(Ordering::SeqCst) { + #[allow(unused_variables)] if let Err(error) = handle_file(&path, conn) { #[cfg(not(test))] bar.println(format!("{}", FileError::new(&path, error))); |
