[Python-checkins] r80810 - python/trunk/Objects/obmalloc.c

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


Author: brett.cannon
Date: Wed May  5 22:16:50 2010
New Revision: 80810

Log:
Remove an unneeded variable.

Found using Clang's static analyzer.


Modified:
   python/trunk/Objects/obmalloc.c

Modified: python/trunk/Objects/obmalloc.c
==============================================================================
--- python/trunk/Objects/obmalloc.c	(original)
+++ python/trunk/Objects/obmalloc.c	Wed May  5 22:16:50 2010
@@ -1761,7 +1761,6 @@
 	 * will be living in full pools -- would be a shame to miss them.
 	 */
 	for (i = 0; i < maxarenas; ++i) {
-		uint poolsinarena;
 		uint j;
 		uptr base = arenas[i].address;
 
@@ -1770,7 +1769,6 @@
 			continue;
 		narenas += 1;
 
-		poolsinarena = arenas[i].ntotalpools;
 		numfreepools += arenas[i].nfreepools;
 
 		/* round up to pool alignment */


More information about the Python-checkins mailing list