diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-02 00:11:43 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-02 00:11:43 +0200 |
commit | 1f12608a8ad62d40c2a108be0e6a9b024b4219dd (patch) | |
tree | aca66e9a639661a26b92f00cfdcf141c29166468 /Python/import.c | |
parent | ba7060455b47c03ab37b2d116459a1bd1e960314 (diff) | |
download | cpython-1f12608a8ad62d40c2a108be0e6a9b024b4219dd.tar.gz |
Remove unused variable if Python is build without threads
Diffstat (limited to 'Python/import.c')
-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 23752eeb72..93defeff7f 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(); |