commit | 0af0306396eb05c8c55951bc3dc04aa0a4c007ae | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Sep 02 00:11:43 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Sep 02 00:11:43 2011 +0200 |
tree | 345017cb983e9c69cf8d7ef2078d2b80d18b803e | |
parent | eff61f6927c94c82b5fc8f0a266340f1e91a363c [diff] |
Remove unused variable if Python is build without threads
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 @@ { PyObject *result; PyObject *modules; +#ifdef WITH_THREAD long me; +#endif /* Try to get the module from sys.modules[name] */ modules = PyImport_GetModuleDict();