Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Removing unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Drwięga committed Dec 22, 2016
1 parent 059b6b3 commit afe25d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dapps/src/handlers/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ impl<H: ContentValidator, F: Fetch> ContentFetcherHandler<H, F> {

impl<H: ContentValidator, F: Fetch> server::Handler<HttpStream> for ContentFetcherHandler<H, F> {
fn on_request(&mut self, request: server::Request<HttpStream>) -> 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");
Expand Down

0 comments on commit afe25d7

Please sign in to comment.