projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65006b
)
attempt to silent spurious MinGW warnigns
author
Lisandro Dalcin
<dalcinl@gmail.com>
Wed, 9 Feb 2011 15:16:08 +0000
(12:16 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Wed, 9 Feb 2011 15:16:08 +0000
(12:16 -0300)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 5895f46b3a885ca2501b4994e67b4fba874dc1fc..16802078c4b00638d96a66d05b65b7badd134ae3 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-5129,7
+5129,7
@@
class GILStatNode(TryFinallyStatNode):
code.putln("#endif")
else:
code.putln("#ifdef WITH_THREAD")
- code.putln("PyThreadState *_save;")
+ code.putln("PyThreadState *_save
= NULL
;")
code.putln("#endif")
code.putln("Py_UNBLOCK_THREADS")
TryFinallyStatNode.generate_execution_code(self, code)