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