diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs index 60a3ac5d6..819f4f8d7 100644 --- a/libs/hbb_common/src/config.rs +++ b/libs/hbb_common/src/config.rs @@ -272,6 +272,7 @@ impl Config { } pub fn log_path() -> PathBuf { + #[allow(unreachable_code)] #[cfg(target_os = "macos")] { if let Some(path) = dirs_next::home_dir().as_mut() {