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 *
|
static PyObject *
|
||||||
PyCurses_getsyx(PyObject *self)
|
PyCurses_getsyx(PyObject *self)
|
||||||
{
|
{
|
||||||
int x,y;
|
int x = 0;
|
||||||
|
int y = 0;
|
||||||
|
|
||||||
PyCursesInitialised
|
PyCursesInitialised
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue