mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Initialize variables to fix compiler warnings
Warnings seen on the "AMD64 Debian PGO 3.x" buildbot. Warnings are false positive, but variable initialization should not harm performances.
This commit is contained in:
parent
5abaa2b139
commit
b110dad9ab
2 changed files with 4 additions and 4 deletions
|
@ -594,7 +594,7 @@ curses_window_addch_impl(PyCursesWindowObject *self, int group_left_1, int y,
|
|||
int attr_group = group_right_1;
|
||||
int rtn;
|
||||
int type;
|
||||
chtype cch;
|
||||
chtype cch = 0;
|
||||
#ifdef HAVE_NCURSESW
|
||||
wchar_t wstr[2];
|
||||
cchar_t wcval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue