summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2025-07-22 13:43:03 +0200
committerLinus Färnstrand <linus@mullvad.net>2025-07-22 14:50:30 +0200
commit6bf6564587c42ea2260fc4aa27ad94e3655f60fe (patch)
tree58aa7cc6b1a5b6409bcb416f695da4587711a112
parented6d48a398bfb2701a0977abaf2e33e6eea48526 (diff)
downloadmullvadvpn-6bf6564587c42ea2260fc4aa27ad94e3655f60fe.tar.xz
mullvadvpn-6bf6564587c42ea2260fc4aa27ad94e3655f60fe.zip
Remove #[allow(unused_variables)] from settings migration
-rw-r--r--mullvad-daemon/src/migrations/v9.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/mullvad-daemon/src/migrations/v9.rs b/mullvad-daemon/src/migrations/v9.rs
index a3bb045d03..7662d57cbc 100644
--- a/mullvad-daemon/src/migrations/v9.rs
+++ b/mullvad-daemon/src/migrations/v9.rs
@@ -45,7 +45,6 @@ const SPLIT_TUNNELING_STATE: &str = "split-tunnelling-enabled.txt";
/// This `migrate` function needs to get passed a `settings_dir` to work on Android. This is
/// because the Android client will pass the settings directory when initializing the daemon,
/// which means that we can not know ahead of time where the settings are stored.
-#[allow(unused_variables)]
pub fn migrate(
settings: &mut serde_json::Value,
#[cfg(target_os = "android")] directories: Option<Directories<'_>>,