diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-04-21 01:55:50 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-04-21 01:55:50 (GMT) |
commit | 0da94c8a343e0f895ab7b8b49f2132ff2189f145 (patch) | |
tree | ee51af333469d5658d2870831b9a57a462b858ad | |
parent | a5489d415e77d82b13a5fca1e28e2aa202c1814d (diff) | |
download | cpython-0da94c8a343e0f895ab7b8b49f2132ff2189f145.zip cpython-0da94c8a343e0f895ab7b8b49f2132ff2189f145.tar.gz cpython-0da94c8a343e0f895ab7b8b49f2132ff2189f145.tar.bz2 |
Silence 'r may be used uninitialized' compiler warning.
-rw-r--r-- | Modules/mathmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index d1c4822..201ffc4 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -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)) |