summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2020-06-04 10:19:42 +0100
committerEmīls <emils@mullvad.net>2020-06-05 15:02:29 +0100
commitd13f0e83eba854e7557375ce46abf6cccd19ebd6 (patch)
treec6e2ed28f312fdaf48139a17e0b3703c4c93c578
parent7e988ff92914d7582ca6cb7dc92ec844fa6edcdc (diff)
downloadmullvadvpn-d13f0e83eba854e7557375ce46abf6cccd19ebd6.tar.xz
mullvadvpn-d13f0e83eba854e7557375ce46abf6cccd19ebd6.zip
Fix small lint with daemon
-rw-r--r--mullvad-daemon/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs
index 2b202deab9..f4cf17a839 100644
--- a/mullvad-daemon/src/lib.rs
+++ b/mullvad-daemon/src/lib.rs
@@ -311,7 +311,7 @@ impl DaemonExecutionState {
match self {
Exiting => {
- mem::replace(self, Finished);
+ let _ = mem::replace(self, Finished);
}
Running | Finished => {}
};