Commit 0f3a71da authored by Senthil Kumaran's avatar Senthil Kumaran

Issue24733 - Remove unreachable code in traceback.c

parent e2e6b54a
......@@ -170,10 +170,6 @@ _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent)
if (xfp == NULL)
return err;
if (err != 0) {
fclose(xfp);
return err;
}
for (i = 0; i < lineno; i++) {
char* pLastChar = &linebuf[sizeof(linebuf)-2];
......
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