Author: Armin Rigo <ar...@tunes.org>
Branch: windows-tls
Changeset: r2526:243617bdfa70
Date: 2016-01-03 14:55 +0100
http://bitbucket.org/cffi/cffi/changeset/243617bdfa70/

Log:    Remove this field if it's not used

diff --git a/c/misc_thread_common.h b/c/misc_thread_common.h
--- a/c/misc_thread_common.h
+++ b/c/misc_thread_common.h
@@ -9,9 +9,11 @@
        had already a thread state provided by CPython. */
     PyThreadState *local_thread_state;
 
+#ifndef USE__THREAD
     /* The saved errno.  If the C compiler supports '__thread', then
-       we use that instead; this value is not used at all in this case. */
+       we use that instead. */
     int saved_errno;
+#endif
 
 #ifdef MS_WIN32
     /* The saved lasterror, on Windows. */
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to