[issue19474] Argument Clinic causing compiler warnings about uninitialized variables

2013-11-20 Thread Larry Hastings
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

[issue19474] Argument Clinic causing compiler warnings about uninitialized variables

2013-11-20 Thread Roundup Robot
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

[issue19474] Argument Clinic causing compiler warnings about uninitialized variables

2013-11-01 Thread Brett Cannon
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