From 0af0306396eb05c8c55951bc3dc04aa0a4c007ae Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 2 Sep 2011 00:11:43 +0200 Subject: Remove unused variable if Python is build without threads --- Python/import.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python/import.c b/Python/import.c index 23752ee..93defef 100644 --- a/Python/import.c +++ b/Python/import.c @@ -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(); -- cgit v0.12