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;
^
---
src/mips/Gstep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mips/Gstep.c b/src/mips/Gstep.c
index 0a0b9c2..0a67492 100644
--- a/src/mips/Gstep.c
+++ b/src/mips/Gstep.c
@@ -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;
--
1.9.1