From 7fda33ae8d596863ddfbf1521934bb23675c9390 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 7 Jan 2013 11:38:35 +0000 Subject: [PATCH] Delete unused variable in lynx_resume gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_resume): Delete variable ret. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/lynx-low.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 0c4a2867a7..4aeb3f9d47 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2013-01-07 Joel Brobecker + + * lynx-low.c (lynx_resume): Delete variable ret. + 2013-01-01 Joel Brobecker * gdbreplay.c (gdbreplay_version): Update copyright year. diff --git a/gdb/gdbserver/lynx-low.c b/gdb/gdbserver/lynx-low.c index 36bfd6d81b..9aa0140f17 100644 --- a/gdb/gdbserver/lynx-low.c +++ b/gdb/gdbserver/lynx-low.c @@ -354,10 +354,9 @@ lynx_resume (struct thread_resume *resume_info, size_t n) const int request = (resume_info[0].kind == resume_step ? PTRACE_SINGLESTEP : PTRACE_CONT); const int signal = resume_info[0].sig; - int ret; regcache_invalidate (); - ret = lynx_ptrace (request, inferior_ptid, 1, signal, 0); + lynx_ptrace (request, inferior_ptid, 1, signal, 0); } /* Resume the execution of the given PTID. */ -- 2.34.1