diff options
| author | Joakim Hulthe <joakim.hulthe@mullvad.net> | 2026-04-25 11:03:45 +0200 |
|---|---|---|
| committer | Joakim Hulthe <joakim.hulthe@mullvad.net> | 2026-04-25 11:03:55 +0200 |
| commit | 916eba7f8f428772a42e08c3d4c5fb7d8c0bf4ce (patch) | |
| tree | b66e54ca555923f8ca8b1f1851b458defbb83a48 | |
| parent | 8175f46f0dad1d39db980f6f2895b883c45741b1 (diff) | |
| download | mullvadvpn-update-deps.tar.xz mullvadvpn-update-deps.zip | |
Remove unnecessary `unsafe`update-deps
| -rw-r--r-- | mullvad-daemon/src/macos_launch_daemon.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/macos_launch_daemon.rs b/mullvad-daemon/src/macos_launch_daemon.rs index c831a14c19..142f02c610 100644 --- a/mullvad-daemon/src/macos_launch_daemon.rs +++ b/mullvad-daemon/src/macos_launch_daemon.rs @@ -32,7 +32,7 @@ pub fn get_status() -> LaunchDaemonStatus { } // SAFETY: daemon_plist_path is not an empty path & it is a valid system path. // https://developer.apple.com/documentation/foundation/nsurl/fileurl(withpath:)#parameters - let daemon_plist_url = unsafe { NSURL::fileURLWithPath(ns_string!(DAEMON_PLIST_PATH)) }; + let daemon_plist_url = NSURL::fileURLWithPath(ns_string!(DAEMON_PLIST_PATH)); get_status_for_url(&daemon_plist_url) } |
