Larry Hastings added the comment:
Sigh. If dataflow analysis could inline the static _impl function, it would
notice that there are no code paths where the variable is uninitialized and
gets used. But I'm not surprised compilers aren't that sophisticated.
So I beat the problem to death with
Roundup Robot added the comment:
New changeset 4f0f496e482e by Larry Hastings in branch 'default':
Issue #19474: Argument Clinic now always specifies a default value for
http://hg.python.org/cpython/rev/4f0f496e482e
--
nosy: +python-dev
___
Python tra
New submission from Brett Cannon:
In the curses module there are some variables that can go uninitialized which
are causing clang to complain:
/Users/bcannon/Repositories/cpython/default/Modules/_cursesmodule.c:624:17:
warning: variable
'x' is used uninitialized whenever 'if' condition i