mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-100873: Fix "‘lo’ may be used uninitialized in this function" warning in mathmodule.c (#100881)
This commit is contained in:
parent
837ba05267
commit
36f2329367
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue