diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-04 21:26:25 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-04 21:26:25 (GMT) |
commit | c4d974d3fa05658b45ab170ce1fb58020a3ea72c (patch) | |
tree | b09f8a24bec4ba5afd46555a283381076e565f34 /Python | |
parent | 15f3d1e266ad24745927bf1df4fe82561ddb5040 (diff) | |
download | cpython-c4d974d3fa05658b45ab170ce1fb58020a3ea72c.zip cpython-c4d974d3fa05658b45ab170ce1fb58020a3ea72c.tar.gz cpython-c4d974d3fa05658b45ab170ce1fb58020a3ea72c.tar.bz2 |
Remove unused variable `trim_get_code`.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/import.c b/Python/import.c index 90a89ee..6f4b6d0 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1155,7 +1155,6 @@ remove_importlib_frames(void) const char *importlib_filename = "<frozen importlib._bootstrap>"; const char *remove_frames = "_call_with_frames_removed"; int always_trim = 0; - int trim_get_code = 0; int in_importlib = 0; PyObject *exception, *value, *base_tb, *tb; PyObject **prev_link, **outer_link = NULL; @@ -1170,9 +1169,6 @@ remove_importlib_frames(void) if (PyType_IsSubtype((PyTypeObject *) exception, (PyTypeObject *) PyExc_ImportError)) always_trim = 1; - if (PyType_IsSubtype((PyTypeObject *) exception, - (PyTypeObject *) PyExc_SyntaxError)) - trim_get_code = 1; prev_link = &base_tb; tb = base_tb; |