From 6d787361770b5918074fac21d49c4a75222039f3 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Fri, 17 Jul 2009 07:54:23 +0000 Subject: Initialize variables in PyCurses_getsyx() to avoid compiler warnings. --- Modules/_cursesmodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 922f351..cd143a4 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 -- cgit v0.12