[Python-checkins] r80822 - python/trunk/Python/traceback.c

brett.cannon python-checkins at python.org
Wed May 5 22:53:20 CEST 2010


Author: brett.cannon
Date: Wed May  5 22:53:20 2010
New Revision: 80822

Log:
Remove an unneeded variable assignment.

Found using Clang's static analyzer.


Modified:
   python/trunk/Python/traceback.c

Modified: python/trunk/Python/traceback.c
==============================================================================
--- python/trunk/Python/traceback.c	(original)
+++ python/trunk/Python/traceback.c	Wed May  5 22:53:20 2010
@@ -161,7 +161,6 @@
 					strcpy(namebuf+len, tail);
 					xfp = fopen(namebuf, "r" PY_STDIOTEXTMODE);
 					if (xfp != NULL) {
-						filename = namebuf;
 						break;
 					}
 				}


More information about the Python-checkins mailing list