[Python-bugs-list] possible bug in CVS ceval.c of 30 March (PR#253)

guido@python.org guido@python.org
Fri, 31 Mar 2000 12:46:31 -0500 (EST)


> Building CVS Python 1.5.2+ of 30 March 200 on Tru64 Unix (V4.0 1229 alpha) with
> Compaq C (Compaq C V6.1-110 (dtk) on Digital UNIX V4.0F) results in the
> following
> warning:
> 
> cc -O -Olimit 1500 -I./../Include -I.. -DHAVE_CONFIG_H   -c ceval.c -o ceval.o
> cc: Warning: ceval.c, line 1670: The scalar variable "args" is fetched but not
> initialized.  And there may be other such fetches of this variable that have
> not
> been reported in this compilation. (uninit1)
>                                 Py_DECREF(args);
> --------------------------------^
> 
> Looking at the code, args is defined at the start of the function as:
>         PyObject **args; (line 343)
> and subsequently redefined as:
>                         PyObject *args; (line 1618)

Jeremy has checked in a patch that takes care of this (and a few other
things).

--Guido van Rossum (home page: http://www.python.org/~guido/)