mirror of
https://github.com/FEX-Emu/libunwind.git
synced 2024-11-30 09:50:53 +00:00
dwarf: Fix warning about -Wmaybe-uninitialized.
```
src/dwarf/Gfind_proc_info-lsb.c:536:16: warning: 'eh_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
Elf_W (Addr) eh_frame;
^
```
Introduced-in: 25413c729a
This commit is contained in:
parent
4dea379ad9
commit
2e60ca34d2
@ -533,7 +533,7 @@ dwarf_find_eh_frame_section(struct dl_phdr_info *info)
|
||||
int fd;
|
||||
Elf_W (Ehdr) ehdr;
|
||||
Elf_W (Half) shstrndx;
|
||||
Elf_W (Addr) eh_frame;
|
||||
Elf_W (Addr) eh_frame = 0;
|
||||
unsigned int i;
|
||||
const char *file = info->dlpi_name;
|
||||
char secname[EH_FRAME_LEN];
|
||||
|
Loading…
Reference in New Issue
Block a user