Remove an unneeded variable assignment.

Found using Clang's static analyzer.
This commit is contained in:
Brett Cannon 2010-05-05 20:53:20 +00:00
parent 0b64be2389
commit 5335e77810

View file

@ -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;
}
}