Fix icc warnings: remove unused variable
This commit is contained in:
parent
056a2d6582
commit
b2da01b27c
|
@ -425,7 +425,6 @@ float_richcompare(PyObject *v, PyObject *w, int op)
|
||||||
int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
|
int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
|
||||||
int wsign = _PyLong_Sign(w);
|
int wsign = _PyLong_Sign(w);
|
||||||
size_t nbits;
|
size_t nbits;
|
||||||
double mant;
|
|
||||||
int exponent;
|
int exponent;
|
||||||
|
|
||||||
if (vsign != wsign) {
|
if (vsign != wsign) {
|
||||||
|
@ -471,7 +470,7 @@ float_richcompare(PyObject *v, PyObject *w, int op)
|
||||||
op = _Py_SwappedOp[op];
|
op = _Py_SwappedOp[op];
|
||||||
}
|
}
|
||||||
assert(i > 0.0);
|
assert(i > 0.0);
|
||||||
mant = frexp(i, &exponent);
|
(void) frexp(i, &exponent);
|
||||||
/* exponent is the # of bits in v before the radix point;
|
/* exponent is the # of bits in v before the radix point;
|
||||||
* we know that nbits (the # of bits in w) > 48 at this point
|
* we know that nbits (the # of bits in w) > 48 at this point
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue