From c4d974d3fa05658b45ab170ce1fb58020a3ea72c Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 4 Aug 2012 23:26:25 +0200 Subject: Remove unused variable `trim_get_code`. --- Python/import.c | 4 ---- 1 file changed, 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 = ""; 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; -- cgit v0.12