[issue6351] Compiler warning in _cursesmodule.c

Hagen Fürstenau report at bugs.python.org
Sun Jun 28 05:25:41 CEST 2009


New submission from Hagen Fürstenau <hfuerstenau at gmx.net>:

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

----------
components: Build
messages: 89763
nosy: hagen
severity: normal
status: open
title: Compiler warning in _cursesmodule.c
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6351>
_______________________________________


More information about the Python-bugs-list mailing list