1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-14 12:18:12 +01:00

mips/Gstep.c: unw_handle_signal_frame: remove unused 'sp' variable

This fixes GCC 4.9.3 warnings (Linux/mipsel):

mips/Gstep.c: In function '_Umips_handle_signal_frame':
mips/Gstep.c:33:23: warning: unused variable 'sp' [-Wunused-variable]
   unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa;
                       ^
This commit is contained in:
Королев Сергей 2016-05-11 22:40:06 +03:00 committed by Dave Watson
parent b5de17183c
commit 00cca00716

View file

@ -30,7 +30,7 @@ PROTECTED int
unw_handle_signal_frame (unw_cursor_t *cursor)
{
struct cursor *c = (struct cursor *) cursor;
unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa;
unw_word_t sc_addr, sp_addr = c->dwarf.cfa;
unw_word_t ra, fp;
int ret;