[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 5/8] IA64: `ent' needed conditionally in Gtable
From: |
Tommi Rantala |
Subject: |
[Libunwind-devel] [PATCH 5/8] IA64: `ent' needed conditionally in Gtables.c |
Date: |
Tue, 31 Jul 2012 23:06:31 +0300 |
ia64/Gtables.c: In function '_ULia64_search_unwind_table':
ia64/Gtables.c:258: warning: unused variable 'ent'
---
src/ia64/Gtables.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/ia64/Gtables.c b/src/ia64/Gtables.c
index 5ed72f0..de9e86f 100644
--- a/src/ia64/Gtables.c
+++ b/src/ia64/Gtables.c
@@ -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;
const struct ia64_table_entry *e = NULL;
unw_word_t handler_offset, segbase = 0;
- struct ia64_table_entry ent;
int ret, is_local;
+#ifndef UNW_LOCAL_ONLY
+ struct ia64_table_entry ent;
+#endif
assert ((di->format == UNW_INFO_FORMAT_TABLE
|| di->format == UNW_INFO_FORMAT_REMOTE_TABLE)
--
1.7.9.5
- [Libunwind-devel] [PATCH 0/8] misc fixes, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 1/8] Rip out AC_TYPE_SIGNAL and sighandler_t check, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 3/8] IA64: use tdep_find_unwind_table() in coredump lib, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 2/8] Allow IA64 cross-compilation, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 4/8] Fix --enable-debug-frame build, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 5/8] IA64: `ent' needed conditionally in Gtables.c,
Tommi Rantala <=
- [Libunwind-devel] [PATCH 6/8] Fix IP vs. PC confusion in tests on ARM, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 7/8] Use unw_context_t instead of ucontext_t in tests/Gtest-trace.c and tests/Gtest-bt.c, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 8/8] Fix typo in unw_get_proc_name documentation, Tommi Rantala, 2012/07/31