Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-07-04 10:06:54 +0400
committerChristopher Faylor <me@cgf.cx>2012-07-04 10:06:54 +0400
commit85b2b14e7a9cf343d287f19eb0105123a4f540b0 (patch)
treeaed61c08cd2e7cbe827f441002d12e09eba67623
parent226133e80ca53c9ca86c2c89f76e73661f1aea98 (diff)
* exceptions.cc (setup_handler): Remove unneeded assignment found by Clang.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 30ccf0526..ba9464d26 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
+ * exceptions.cc (setup_handler): Remove unneeded assignment found by
+ Clang.
+
+2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
+
* hookapi.cc (find_first_notloaded_dll): Remove unused assignment of
importRVASize found by Clang.
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;