diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-04-21 01:55:50 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-04-21 01:55:50 +0000 |
commit | 0da94c8a343e0f895ab7b8b49f2132ff2189f145 (patch) | |
tree | ee51af333469d5658d2870831b9a57a462b858ad /Modules/mathmodule.c | |
parent | a5489d415e77d82b13a5fca1e28e2aa202c1814d (diff) | |
download | cpython-git-0da94c8a343e0f895ab7b8b49f2132ff2189f145.tar.gz |
Silence 'r may be used uninitialized' compiler warning.
Diffstat (limited to 'Modules/mathmodule.c')
-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 d1c4822cb1..201ffc449c 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)) |