attempt to silent spurious MinGW warnigns
authorLisandro Dalcin <dalcinl@gmail.com>
Wed, 9 Feb 2011 15:16:08 +0000 (12:16 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Wed, 9 Feb 2011 15:16:08 +0000 (12:16 -0300)
Cython/Compiler/Nodes.py

index 5895f46b3a885ca2501b4994e67b4fba874dc1fc..16802078c4b00638d96a66d05b65b7badd134ae3 100644 (file)
@@ -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)