Remove an unneeded variable assignment.
Found using Clang's static analyzer.
This commit is contained in:
parent
0b64be2389
commit
5335e77810
|
@ -161,7 +161,6 @@ _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent)
|
||||||
strcpy(namebuf+len, tail);
|
strcpy(namebuf+len, tail);
|
||||||
xfp = fopen(namebuf, "r" PY_STDIOTEXTMODE);
|
xfp = fopen(namebuf, "r" PY_STDIOTEXTMODE);
|
||||||
if (xfp != NULL) {
|
if (xfp != NULL) {
|
||||||
filename = namebuf;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue