diff Modules/_cursesmodule.c @ 55606:ff6eea017a7f 3.1

Merged revisions 74010,74034,74054 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ................ r74010 | r.david.murray | 2009-07-15 16:16:54 +0200 (Mi, 15 Jul 2009) | 2 lines PEP-8-ify r73389. ................ r74034 | alexandre.vassalotti | 2009-07-17 07:35:59 +0200 (Fr, 17 Jul 2009) | 2 lines The output() function takes only one string argument. ................ r74054 | alexandre.vassalotti | 2009-07-17 10:31:44 +0200 (Fr, 17 Jul 2009) | 14 lines 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. ........ ................
author Georg Brandl <georg@python.org>
date Thu, 13 Aug 2009 09:15:16 +0000
parents 911df82bc25d
children 6b23b0eba405
line wrap: on
line diff
--- a/Modules/_cursesmodule.c	Thu Aug 13 09:12:46 2009 +0000
+++ b/Modules/_cursesmodule.c	Thu Aug 13 09:15:16 2009 +0000
@@ -1806,7 +1806,8 @@
 static PyObject *
 PyCurses_getsyx(PyObject *self)
 {
-  int x,y;
+  int x = 0;
+  int y = 0;
 
   PyCursesInitialised