diff --git a/dapps/src/handlers/fetch.rs b/dapps/src/handlers/fetch.rs index 113153edc50..7634f194108 100644 --- a/dapps/src/handlers/fetch.rs +++ b/dapps/src/handlers/fetch.rs @@ -321,8 +321,6 @@ impl ContentFetcherHandler { impl server::Handler for ContentFetcherHandler { fn on_request(&mut self, request: server::Request) -> Next { - let uri = request.uri().clone(); - let installer = self.installer.take().expect("Installer always set initialy; installer used only in on_request; on_request invoked only once; qed"); let status = if let FetchState::NotStarted(ref url) = self.status { let uri = request.uri().clone(); let installer = self.installer.take().expect("Installer always set initialy; installer used only in on_request; on_request invoked only once; qed");