mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
This commit is contained in:
parent
0b64be2389
commit
5335e77810
1 changed files with 0 additions and 1 deletions
|
@ -161,7 +161,6 @@ _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent)
|
|||
strcpy(namebuf+len, tail);
|
||||
xfp = fopen(namebuf, "r" PY_STDIOTEXTMODE);
|
||||
if (xfp != NULL) {
|
||||
filename = namebuf;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue