From 85b2b14e7a9cf343d287f19eb0105123a4f540b0 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 4 Jul 2012 06:06:54 +0000 Subject: [PATCH] * exceptions.cc (setup_handler): Remove unneeded assignment found by Clang. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/exceptions.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 30ccf0526..ba9464d26 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2012-07-04 Christopher Faylor + + * exceptions.cc (setup_handler): Remove unneeded assignment found by + Clang. + 2012-07-04 Christopher Faylor * hookapi.cc (find_first_notloaded_dll): Remove unused assignment of diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 332a40610..5ace52b5b 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -880,7 +880,7 @@ setup_handler (int sig, void *handler, struct sigaction& siga, _cygtls *tls) interrupted = tls->interrupt_now (&cx, sig, handler, siga); tls->unlock (); - res = ResumeThread (hth); + ResumeThread (hth); if (interrupted) goto out;