Commit 871a0fbf authored by Victor Stinner's avatar Victor Stinner

Remove unused variable if Python is build without threads

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