Commit c4d974d3 authored by Antoine Pitrou's avatar Antoine Pitrou

Remove unused variable `trim_get_code`.

parent 15f3d1e2
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment