diff --git a/input_sections.cc b/input_sections.cc index 618972f7..e831a7a9 100644 --- a/input_sections.cc +++ b/input_sections.cc @@ -61,7 +61,6 @@ std::tuple InputSection::scan_relocations() { } void InputSection::relocate(u8 *buf) { - int i = 0; for (const ELF64LE::Rela &rel : rels) { u32 sym_idx = rel.getSymbol(false); Symbol *sym = file->get_symbol(sym_idx);