Initialize variables in PyCurses_getsyx() to avoid compiler warnings.

This commit is contained in:
Alexandre Vassalotti 2009-07-17 07:54:23 +00:00
parent a2db687368
commit 6d78736177
1 changed files with 2 additions and 1 deletions

View File

@ -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