diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-17 07:54:23 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-17 07:54:23 +0000 |
commit | 6d787361770b5918074fac21d49c4a75222039f3 (patch) | |
tree | d820172c5ca790f9c430bc469039d2de2d186c9b /Modules/_cursesmodule.c | |
parent | a2db6873687f7e4e4a6c665397ca50b2e5761141 (diff) | |
download | cpython-git-6d787361770b5918074fac21d49c4a75222039f3.tar.gz |
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 922f351e42..cd143a4ae1 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1763,7 +1763,8 @@ PyCurses_EraseChar(PyObject *self) static PyObject * PyCurses_getsyx(PyObject *self) { - int x,y; + int x = 0; + int y = 0; PyCursesInitialised |