lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am 11.11.2014 um 15:25 schröbte Steven Degutis:
In ldebug.c at line 518 the variable "name" (declared at line 509)
might have been uninitialized if the condition at line 512 was
non-truthy.

`name` is only used if `kind` is set to a non-NULL value, and every statement that could set `kind` to a non-NULL value (`getupvalname` and `getobjname`) also initializes `name`.
Do you have a compiler that complains?


-Steven


Philipp