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

neal.norwitz python-checkins at python.org
Sun Jan 8 02:11:27 CET 2006


Author: neal.norwitz
Date: Sun Jan  8 02:11:25 2006
New Revision: 41960

Modified:
   python/trunk/Objects/floatobject.c
Log:
Fix icc warnings: remove unused variable

Modified: python/trunk/Objects/floatobject.c
==============================================================================
--- python/trunk/Objects/floatobject.c	(original)
+++ python/trunk/Objects/floatobject.c	Sun Jan  8 02:11:25 2006
@@ -425,7 +425,6 @@
 		int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
 		int wsign = _PyLong_Sign(w);
 		size_t nbits;
-		double mant;
 		int exponent;
 
 		if (vsign != wsign) {
@@ -471,7 +470,7 @@
 			op = _Py_SwappedOp[op];
 		}
 		assert(i > 0.0);
-		mant = frexp(i, &exponent);
+		(void) frexp(i, &exponent);
 		/* exponent is the # of bits in v before the radix point;
 		 * we know that nbits (the # of bits in w) > 48 at this point
 		 */


More information about the Python-checkins mailing list