From: Mark Dickinson Date: Mon, 21 Apr 2008 01:55:50 +0000 (+0000) Subject: Silence 'r may be used uninitialized' compiler warning. X-Git-Tag: v2.6a3~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0da94c8a343e0f895ab7b8b49f2132ff2189f145;p=python Silence 'r may be used uninitialized' compiler warning. --- 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))