From: Brett Cannon Date: Wed, 5 May 2010 20:53:20 +0000 (+0000) Subject: Remove an unneeded variable assignment. X-Git-Tag: v2.7b2~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5335e77810d39670e0a36a888113aee56ddc34ec;p=thirdparty%2FPython%2Fcpython.git Remove an unneeded variable assignment. Found using Clang's static analyzer. --- diff --git a/Python/traceback.c b/Python/traceback.c index 1c26ba271abc..53491eec837f 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -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; } }