This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Compiler warning in _cursesmodule.c
Type: Stage: resolved
Components: Build Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, hagen
Priority: normal Keywords:

Created on 2009-06-28 03:25 by hagen, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg89763 - (view) Author: Hagen Fürstenau (hagen) Date: 2009-06-28 03:25
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 related discussion last year:

http://mail.python.org/pipermail/python-dev/2008-March/077496.html
msg100988 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-03-13 05:25
This has been fixed in r74051 on trunk and r74054 on py3k.
History
Date User Action Args
2022-04-11 14:56:50adminsetgithub: 50600
2010-03-13 05:25:27ezio.melottisetstatus: open -> closed

versions: + Python 2.7, Python 3.2
nosy: + ezio.melotti

messages: + msg100988
resolution: fixed
stage: resolved
2009-06-28 03:25:39hagencreate