[issue6351] Compiler warning in _cursesmodule.c

2010-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: This has been fixed in r74051 on trunk and r74054 on py3k. -- nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2 ___ Python tracker

[issue6351] Compiler warning in _cursesmodule.c

2009-06-27 Thread Hagen Fürstenau
New submission from Hagen Fürstenau : My gcc complains that the variables x and y might be used uninitialized in the function PyCurses_getsyx in Modules/_cursesmodule.c. This is because the macro getsyx of curses.h apparently only sets x and y if newscr is not NULL. There seems to have been a rel