Silence 'r may be used uninitialized' compiler warning.

This commit is contained in:
Mark Dickinson 2008-04-21 01:55:50 +00:00
parent a5489d415e
commit 0da94c8a34
1 changed files with 1 additions and 0 deletions

View File

@ -569,6 +569,7 @@ math_pow(PyObject *self, PyObject *args)
/* deal directly with IEEE specials, to cope with problems on various
platforms whose semantics don't exactly match C99 */
r = 0.; /* silence compiler warning */
if (!Py_IS_FINITE(x) || !Py_IS_FINITE(y)) {
errno = 0;
if (Py_IS_NAN(x))