diff options
| author | nathanw <nathanw@NetBSD.org> | 2004-04-15 19:26:58 +0000 |
|---|---|---|
| committer | nathanw <nathanw@NetBSD.org> | 2004-04-15 19:26:58 +0000 |
| commit | e30c25106f492d51dd67f64b205196dba6a14e20 (patch) | |
| tree | 920f2a2ace6683f0be9052e30f9d352c49d9cd0f /gnu | |
| parent | ae686a7d48d3dcd7aed00668b3b5069d8131b4ed (diff) | |
Remove an extraneous use of a 'retval'.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gdb/gdb/nbsd-thread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/dist/gdb/gdb/nbsd-thread.c b/gnu/dist/gdb/gdb/nbsd-thread.c index 9fc28a9e982..45401ca940b 100644 --- a/gnu/dist/gdb/gdb/nbsd-thread.c +++ b/gnu/dist/gdb/gdb/nbsd-thread.c @@ -534,11 +534,10 @@ nbsd_core_thread_alive (ptid_t ptid) static int nbsd_find_new_threads_callback (td_thread_t *th, void *ignored) { - int retval; td_thread_info_t ti; ptid_t ptid; - if ((retval = td_thr_info (th, &ti)) != 0) + if (td_thr_info (th, &ti) != 0) return -1; ptid = BUILD_THREAD (ti.thread_id, main_ptid); |
