Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gdb/gdb Remove an extraneous use of a 'retval'.
details: https://anonhg.NetBSD.org/src/rev/a772a402f5ec
branches: trunk
changeset: 565634:a772a402f5ec
user: nathanw <nathanw%NetBSD.org@localhost>
date: Thu Apr 15 19:26:58 2004 +0000
description:
Remove an extraneous use of a 'retval'.
diffstat:
gnu/dist/gdb/gdb/nbsd-thread.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 85c35aa37ff2 -r a772a402f5ec gnu/dist/gdb/gdb/nbsd-thread.c
--- a/gnu/dist/gdb/gdb/nbsd-thread.c Thu Apr 15 19:01:57 2004 +0000
+++ b/gnu/dist/gdb/gdb/nbsd-thread.c Thu Apr 15 19:26:58 2004 +0000
@@ -534,11 +534,10 @@
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);
Home |
Main Index |
Thread Index |
Old Index