Commit 0af03063 authored by Victor Stinner's avatar Victor Stinner

Remove unused variable if Python is build without threads

parent eff61f69
......@@ -2349,7 +2349,9 @@ PyImport_ImportModuleNoBlock(const char *name)
{
PyObject *result;
PyObject *modules;
#ifdef WITH_THREAD
long me;
#endif
/* Try to get the module from sys.modules[name] */
modules = PyImport_GetModuleDict();
......
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