From 0da94c8a343e0f895ab7b8b49f2132ff2189f145 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 21 Apr 2008 01:55:50 +0000 Subject: [PATCH] Silence 'r may be used uninitialized' compiler warning. --- Modules/mathmodule.c | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.40.0