Closed
Description
In this code which appeared in 323f8e1:
Lines 566 to 579 in 4067e75
The statement
sv = newSVsv(boolSV(objPtr->internalRep.longValue != 0));
is unreachable (assuming tclBooleanTypePtr != NULL
). It also does not make sense for the statement to be using objPtr->internalRep
because it is invalid when objPtr->typePtr == NULL
.
I am still trying to understand how this code is intended to work. I may propose changes to it anyway in #42 due to various other issues in SvFromTclObj()
which I encounter in Tcl 9.0.
Metadata
Metadata
Assignees
Labels
No labels