1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 17:17:39 +01:00

Silence a compiler warning

This commit is contained in:
Arun Sharma 2010-04-28 16:38:27 -07:00 committed by Arun Sharma
parent 215afa30b7
commit fdc534ccb0

View file

@ -87,6 +87,7 @@ unw_is_signal_frame (unw_cursor_t *cursor)
PROTECTED int
unw_handle_signal_frame (unw_cursor_t *cursor)
{
#if UNW_DEBUG /* To silence compiler warnings */
/* Should not get here because we now use kernel-provided dwarf
information for the signal trampoline and dwarf_step() works.
Hence dwarf_step() should never call this function. Maybe
@ -98,6 +99,7 @@ unw_handle_signal_frame (unw_cursor_t *cursor)
assert(c->sigcontext_format == X86_64_SCF_LINUX_RT_SIGFRAME);
assert(c->sigcontext_addr == c->dwarf.cfa);
assert(0);
#endif
return 1;
}