summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-08 01:11:25 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-08 01:11:25 (GMT)
commitb2da01b27ce831310d1bed384d3177cfad8bb07a (patch)
treec56ab384fa95e49de6248804511673ad5022a80f
parent056a2d6582acf2c7f661279ab7df2003cbad1315 (diff)
downloadcpython-b2da01b27ce831310d1bed384d3177cfad8bb07a.zip
cpython-b2da01b27ce831310d1bed384d3177cfad8bb07a.tar.gz
cpython-b2da01b27ce831310d1bed384d3177cfad8bb07a.tar.bz2
Fix icc warnings: remove unused variable
-rw-r--r--Objects/floatobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 198beb1..86c2ba3 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -425,7 +425,6 @@ float_richcompare(PyObject *v, PyObject *w, int op)
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 @@ float_richcompare(PyObject *v, PyObject *w, int op)
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
*/