[Python-checkins] r80809 - python/trunk/Objects/floatobject.c

brett.cannon python-checkins at python.org
Wed May 5 22:16:09 CEST 2010


Author: brett.cannon
Date: Wed May  5 22:16:09 2010
New Revision: 80809

Log:
Remove an unneeded variable increment.

Found using Clang's static analyzer.


Modified:
   python/trunk/Objects/floatobject.c

Modified: python/trunk/Objects/floatobject.c
==============================================================================
--- python/trunk/Objects/floatobject.c	(original)
+++ python/trunk/Objects/floatobject.c	Wed May  5 22:16:09 2010
@@ -2478,7 +2478,6 @@
 
 		/* Eighth byte */
 		*p = flo & 0xFF;
-		p += incr;
 
 		/* Done */
 		return 0;


More information about the Python-checkins mailing list