diff options
author | David Kalnischkies <david@kalnischkies.de> | 2019-07-08 15:48:59 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2019-07-08 15:51:17 +0200 |
commit | 2b734a7ec429825c7007c1093883229e069d36c7 (patch) | |
tree | b67360f3201634c82f5a9e7dd84f47b28fa63acb /methods/file.cc | |
parent | cbe90ee516d7f747f981e423f164f99eb767240b (diff) |
Apply various suggestions by cppcheck
Reported-By: cppcheck
Diffstat (limited to 'methods/file.cc')
-rw-r--r-- | methods/file.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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; |