diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-02 00:13:16 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-02 00:13:16 +0200 |
commit | 22d80bcf1b8696604884825715321def0a980cd6 (patch) | |
tree | 125650d22e0395a9ff3d1cdbc3f638bcd01bae0c /Python | |
parent | c15c88c13dd67e320161760638778b17486100c1 (diff) | |
parent | 0af0306396eb05c8c55951bc3dc04aa0a4c007ae (diff) | |
download | cpython-git-22d80bcf1b8696604884825715321def0a980cd6.tar.gz |
Merge 3.2: 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 19e975a593..141124830a 100644 --- a/Python/import.c +++ b/Python/import.c @@ -2653,7 +2653,9 @@ PyObject * PyImport_ImportModuleNoBlock(const char *name) { PyObject *nameobj, *modules, *result; +#ifdef WITH_THREAD long me; +#endif /* Try to get the module from sys.modules[name] */ modules = PyImport_GetModuleDict(); |