Issue24733 - Remove unreachable code in traceback.c
This commit is contained in:
parent
e2e6b54a4c
commit
0f3a71dab1
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue