From ee69f3223902d8c03cb21696aa9ebadce63ba935 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 9 Jan 2023 16:05:19 +0300 Subject: [PATCH] =?UTF-8?q?gh-100873:=20Fix=20"=E2=80=98lo=E2=80=99=20may?= =?UTF-8?q?=20be=20used=20uninitialized=20in=20this=20function"=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/mathmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 9e4c6fded93353..1342162fa74be7 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -1467,7 +1467,7 @@ math_fsum(PyObject *module, PyObject *seq) Py_ssize_t i, j, n = 0, m = NUM_PARTIALS; double x, y, t, ps[NUM_PARTIALS], *p = ps; double xsave, special_sum = 0.0, inf_sum = 0.0; - double hi, yr, lo; + double hi, yr, lo = 0.0; iter = PyObject_GetIter(seq); if (iter == NULL)