From 47f180f3d9f5d678a827a16e1f7fab86353716b7 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 9 Feb 2011 12:16:08 -0300 Subject: [PATCH] attempt to silent spurious MinGW warnigns --- Cython/Compiler/Nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2