mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 11:16:11 +08:00
cpukit/libdl/aarch64: Resolve maybe-unused warning
This commit is contained in:
committed by
Kinsey Moore
parent
eb30dfcc2d
commit
15774ab4e0
@@ -214,7 +214,8 @@ rtems_rtl_elf_reloc_rela(rtems_rtl_obj* obj, const Elf_Rela* rela,
|
||||
Elf_Addr off = rela->r_offset;
|
||||
Elf_Addr target;
|
||||
Elf_Addr raddr;
|
||||
uint32_t *insn, immhi, immlo, shift;
|
||||
uint32_t *insn, immhi, immlo;
|
||||
uint32_t shift = 0;
|
||||
|
||||
where = (Elf_Addr*)(sect->base + rela->r_offset);
|
||||
where32 = (void*)where;
|
||||
|
||||
Reference in New Issue
Block a user