From 871a0fbf460ed392e0e42ee7eee7ed6266216ae8 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 2 Sep 2011 00:21:36 +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 990ee51..2ec0dd3 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(); -- cgit v0.12