From: Lisandro Dalcin Date: Wed, 9 Feb 2011 15:16:08 +0000 (-0300) Subject: attempt to silent spurious MinGW warnigns X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47f180f3d9f5d678a827a16e1f7fab86353716b7;p=cython.git attempt to silent spurious MinGW warnigns --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 5895f46b..16802078 100644 --- 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)