From: Michael Snyder Date: Tue, 1 Mar 2011 00:46:09 +0000 (+0000) Subject: 2011-02-28 Michael Snyder X-Git-Tag: cgen-snapshot-20110401~483 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e4565703653d2936ee3588768df6a7d70b1de1d;p=external%2Fbinutils.git 2011-02-28 Michael Snyder * linux-thread-db.c (attach_thread): Discard unused value. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df1b418..41d6196 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 9f360b9..005a34a 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;