mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-09-08 11:46:40 -04:00
Resolve warnings instead of suppressing them (#1848)
* Eliminate 'unused mut' warning and suppression * Eliminate 'unreachable code' warning and suppression * Fix formatting
This commit is contained in:
1 parent
6d89077a29
commit
edbff8b398
2 files changed
+11
-3
No files matched your search
@@ -309,7 +309,11 @@ pub async fn open_file_path_with(
|
||||
error!("{e:#?}");
|
||||
});
|
||||
|
||||
#[allow(unreachable_code)]
|
||||
#[cfg(not(any(
|
||||
target_os = "windows",
|
||||
target_os = "linux",
|
||||
target_os = "macos"
|
||||
)))]
|
||||
Err(())
|
||||
})
|
||||
.collect::<Result<Vec<_>, _>>()
|
||||
|
||||
Reference in new issue
Block a user