diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-01-07 11:38:35 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-01-07 11:38:35 +0000 |
commit | 7fda33ae8d596863ddfbf1521934bb23675c9390 (patch) | |
tree | 713416f30e05467d8d26f3d6527ecccd3080a75d /gdb | |
parent | b967eb24ede0a3a3bf3f51b9436f68143817f532 (diff) | |
download | gdb-7fda33ae8d596863ddfbf1521934bb23675c9390.zip gdb-7fda33ae8d596863ddfbf1521934bb23675c9390.tar.gz gdb-7fda33ae8d596863ddfbf1521934bb23675c9390.tar.bz2 |
Delete unused variable in lynx_resume
gdb/gdbserver/ChangeLog:
* lynx-low.c (lynx_resume): Delete variable ret.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/lynx-low.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 0c4a286..4aeb3f9 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2013-01-07 Joel Brobecker <brobecker@adacore.com> + + * lynx-low.c (lynx_resume): Delete variable ret. + 2013-01-01 Joel Brobecker <brobecker@adacore.com> * gdbreplay.c (gdbreplay_version): Update copyright year. diff --git a/gdb/gdbserver/lynx-low.c b/gdb/gdbserver/lynx-low.c index 36bfd6d..9aa0140 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. */ |