From 2b734a7ec429825c7007c1093883229e069d36c7 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 8 Jul 2019 15:48:59 +0200 Subject: Apply various suggestions by cppcheck Reported-By: cppcheck --- methods/file.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'methods/file.cc') diff --git a/methods/file.cc b/methods/file.cc index 9f4e713b8..80e47f1ad 100644 --- a/methods/file.cc +++ b/methods/file.cc @@ -57,7 +57,6 @@ bool FileMethod::Fetch(FetchItem *Itm) { if (Itm->LastModified == Buf.st_mtime && Itm->LastModified != 0) { - HashStringList const hsl = Itm->ExpectedHashes; if (Itm->ExpectedHashes.VerifyFile(File)) { Res.Filename = Itm->DestFile; -- cgit v1.2.3