diff --git a/lld/COFF/ICF.cpp b/lld/COFF/ICF.cpp index 1c23722d9bc7..354b2cee55f2 100644 --- a/lld/COFF/ICF.cpp +++ b/lld/COFF/ICF.cpp @@ -38,7 +38,6 @@ struct Equals { } // anonymous namespace uint64_t SectionChunk::getHash() const { - ArrayRef A = getContents(); return hash_combine(getPermissions(), hash_value(SectionName), NumRelocs,