commit | 6d787361770b5918074fac21d49c4a75222039f3 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Fri Jul 17 07:54:23 2009 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Fri Jul 17 07:54:23 2009 +0000 |
tree | d820172c5ca790f9c430bc469039d2de2d186c9b | |
parent | a2db6873687f7e4e4a6c665397ca50b2e5761141 [diff] [blame] |
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 922f351..cd143a4 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c
@@ -1763,7 +1763,8 @@ static PyObject * PyCurses_getsyx(PyObject *self) { - int x,y; + int x = 0; + int y = 0; PyCursesInitialised