mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 08:37:38 +01:00
IA64: `ent' needed conditionally in Gtables.c
ia64/Gtables.c: In function '_ULia64_search_unwind_table': ia64/Gtables.c:258: warning: unused variable 'ent'
This commit is contained in:
parent
0fecf13d10
commit
a26f1eac22
1 changed files with 3 additions and 1 deletions
|
@ -255,8 +255,10 @@ unw_search_ia64_unwind_table (unw_addr_space_t as, unw_word_t ip,
|
||||||
unw_word_t addr, hdr_addr, info_addr, info_end_addr, hdr, *wp;
|
unw_word_t addr, hdr_addr, info_addr, info_end_addr, hdr, *wp;
|
||||||
const struct ia64_table_entry *e = NULL;
|
const struct ia64_table_entry *e = NULL;
|
||||||
unw_word_t handler_offset, segbase = 0;
|
unw_word_t handler_offset, segbase = 0;
|
||||||
struct ia64_table_entry ent;
|
|
||||||
int ret, is_local;
|
int ret, is_local;
|
||||||
|
#ifndef UNW_LOCAL_ONLY
|
||||||
|
struct ia64_table_entry ent;
|
||||||
|
#endif
|
||||||
|
|
||||||
assert ((di->format == UNW_INFO_FORMAT_TABLE
|
assert ((di->format == UNW_INFO_FORMAT_TABLE
|
||||||
|| di->format == UNW_INFO_FORMAT_REMOTE_TABLE)
|
|| di->format == UNW_INFO_FORMAT_REMOTE_TABLE)
|
||||||
|
|
Loading…
Reference in a new issue