[Python-checkins] r74051 - python/trunk/Modules/_cursesmodule.c
alexandre.vassalotti
python-checkins at python.org
Fri Jul 17 09:54:23 CEST 2009
Author: alexandre.vassalotti
Date: Fri Jul 17 09:54:23 2009
New Revision: 74051
Log:
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
Modified:
python/trunk/Modules/_cursesmodule.c
Modified: python/trunk/Modules/_cursesmodule.c
==============================================================================
--- python/trunk/Modules/_cursesmodule.c (original)
+++ python/trunk/Modules/_cursesmodule.c Fri Jul 17 09:54:23 2009
@@ -1763,7 +1763,8 @@
static PyObject *
PyCurses_getsyx(PyObject *self)
{
- int x,y;
+ int x = 0;
+ int y = 0;
PyCursesInitialised
More information about the Python-checkins
mailing list