From: Alexandre Vassalotti Date: Fri, 17 Jul 2009 07:54:23 +0000 (+0000) Subject: Initialize variables in PyCurses_getsyx() to avoid compiler warnings. X-Git-Tag: v2.7a1~751 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d787361770b5918074fac21d49c4a75222039f3;p=thirdparty%2FPython%2Fcpython.git Initialize variables in PyCurses_getsyx() to avoid compiler warnings. --- diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 922f351e429d..cd143a4ae166 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