Commit 5335e778 authored by Brett Cannon's avatar Brett Cannon

Remove an unneeded variable assignment.

Found using Clang's static analyzer.
parent 0b64be23
...@@ -161,7 +161,6 @@ _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent) ...@@ -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;
} }
} }
......
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