diff --git a/crates/ecstore/src/endpoints.rs b/crates/ecstore/src/endpoints.rs index 44f842485..63a45b7d2 100644 --- a/crates/ecstore/src/endpoints.rs +++ b/crates/ecstore/src/endpoints.rs @@ -683,6 +683,7 @@ fn validate_local_physical_disk_independence(pools: &[Endpoints]) -> Result<()> } let mut device_paths = BTreeMap::>::new(); + #[cfg(not(windows))] let mut missing_paths = Vec::new(); for path in &local_paths { @@ -739,6 +740,7 @@ fn validate_local_physical_disk_independence(pools: &[Endpoints]) -> Result<()> } } + #[cfg(not(windows))] if !missing_paths.is_empty() { warn!( missing_paths = ?missing_paths,