mirror of https://github.com/python/cpython
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
This commit is contained in:
parent
a2db687368
commit
6d78736177
|
@ -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…
Reference in New Issue