mirror of
https://github.com/python/cpython.git
synced 2024-11-25 10:54:51 +08:00
Remove unused variable if Python is build without threads
This commit is contained in:
parent
eff61f6927
commit
0af0306396
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user