From: Joel Brobecker Date: Mon, 7 Jan 2013 11:38:35 +0000 (+0000) Subject: Delete unused variable in lynx_resume X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fda33ae8d596863ddfbf1521934bb23675c9390;p=binutils-gdb.git Delete unused variable in lynx_resume gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_resume): Delete variable ret. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 0c4a2867a7e..4aeb3f9d474 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 36bfd6d81bc..9aa0140f173 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. */