mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Remove unused variable if Python is build without threads
This commit is contained in:
parent
4f14a1ff52
commit
871a0fbf46
1 changed files with 2 additions and 0 deletions
|
@ -2064,7 +2064,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…
Add table
Add a link
Reference in a new issue