diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-17 08:31:44 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-17 08:31:44 (GMT) |
commit | cf7128ccbcf2b68eff6c5b47f6334b01882c818b (patch) | |
tree | c8e2e1416c2a479606d7752af3f3c02922692829 /Modules/_cursesmodule.c | |
parent | a8336b4fd070d6c6761f48f0af73676027aa6123 (diff) | |
download | cpython-cf7128ccbcf2b68eff6c5b47f6334b01882c818b.zip cpython-cf7128ccbcf2b68eff6c5b47f6334b01882c818b.tar.gz cpython-cf7128ccbcf2b68eff6c5b47f6334b01882c818b.tar.bz2 |
Merged revisions 74051-74052 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74051 | alexandre.vassalotti | 2009-07-17 03:54:23 -0400 (Fri, 17 Jul 2009) | 2 lines
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
........
r74052 | alexandre.vassalotti | 2009-07-17 04:09:04 -0400 (Fri, 17 Jul 2009) | 3 lines
Fix GCC warning about fprintf used without a string literal and
without format arguments.
........
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 a92cc8e..c7d3778 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1806,7 +1806,8 @@ PyCurses_EraseChar(PyObject *self) static PyObject * PyCurses_getsyx(PyObject *self) { - int x,y; + int x = 0; + int y = 0; PyCursesInitialised |