From: Victor Stinner Date: Thu, 1 Sep 2011 22:21:36 +0000 (+0200) Subject: Remove unused variable if Python is build without threads X-Git-Tag: v2.7.3rc1~474 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=871a0fbf460ed392e0e42ee7eee7ed6266216ae8;p=thirdparty%2FPython%2Fcpython.git Remove unused variable if Python is build without threads --- diff --git a/Python/import.c b/Python/import.c index 990ee51311e9..2ec0dd32abbf 100644 --- a/Python/import.c +++ b/Python/import.c @@ -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();