Merge 3.2: Remove unused variable if Python is build without threads

This commit is contained in:
Victor Stinner 2011-09-02 00:13:16 +02:00
commit 22d80bcf1b

View file

@ -2653,7 +2653,9 @@ PyObject *
PyImport_ImportModuleNoBlock(const char *name)
{
PyObject *nameobj, *modules, *result;
#ifdef WITH_THREAD
long me;
#endif
/* Try to get the module from sys.modules[name] */
modules = PyImport_GetModuleDict();