mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
This commit is contained in:
parent
a2db687368
commit
6d78736177
1 changed files with 2 additions and 1 deletions
|
@ -1763,7 +1763,8 @@ PyCurses_EraseChar(PyObject *self)
|
|||
static PyObject *
|
||||
PyCurses_getsyx(PyObject *self)
|
||||
{
|
||||
int x,y;
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
|
||||
PyCursesInitialised
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue