From: Michael Snyder Date: Tue, 1 Mar 2011 00:46:09 +0000 (+0000) Subject: 2011-02-28 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e4565703653d2936ee3588768df6a7d70b1de1d;p=binutils-gdb.git 2011-02-28 Michael Snyder * linux-thread-db.c (attach_thread): Discard unused value. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df1b418760b..41d619690f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2011-02-28 Michael Snyder + * linux-thread-db.c (attach_thread): Discard unused value. + * linux-nat.c (linux_handle_extended_wait): Delete unused variable. * remote.c (remote_get_noisy_reply): Discard unused value. diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 9f360b9fe61..005a34a60b1 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -1065,7 +1065,7 @@ attach_thread (ptid_t ptid, const td_thrhandle_t *th_p, /* Add the thread to GDB's thread list. */ if (tp == NULL) - tp = add_thread_with_info (ptid, private); + add_thread_with_info (ptid, private); else tp->private = private;