Commit 07f9ad42 authored by Robert Bradshaw's avatar Robert Bradshaw

Suppress warning for Visual Studio 2012.

parent 2fee9617
......@@ -428,6 +428,10 @@ static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
PyGILState_STATE state;
if (nogil)
state = PyGILState_Ensure();
#ifdef _MSC_VER
/* arbitrary, to suppress warning */
else state = (PyGILState_STATE)-1;
#endif
#endif
__Pyx_ErrFetch(&old_exc, &old_val, &old_tb);
if (full_traceback) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment