diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-01 22:11:43 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-01 22:11:43 (GMT) |
commit | 0af0306396eb05c8c55951bc3dc04aa0a4c007ae (patch) | |
tree | 345017cb983e9c69cf8d7ef2078d2b80d18b803e /Python | |
parent | eff61f6927c94c82b5fc8f0a266340f1e91a363c (diff) | |
download | cpython-0af0306396eb05c8c55951bc3dc04aa0a4c007ae.zip cpython-0af0306396eb05c8c55951bc3dc04aa0a4c007ae.tar.gz cpython-0af0306396eb05c8c55951bc3dc04aa0a4c007ae.tar.bz2 |
Remove unused variable if Python is build without threads
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |