Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TclCleanupVar attempting to return value

Closed / Fixed1765225fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-08-01 11:45:56
The CVS head snapshotted to the activestate ftp site, in ftp file tcl-20070731.tar.gz , has a bug in tcl/generic/tclVar.c .

In the TclCleanupVar function - a void function - the return statement was attempting to return the value from CleanupVar. This of course resulted in a syntax error - can't return a value from a void function.

The code works when you change

return CleanupVar(varPtr, arrayPtr);
to
CleanupVar(varPtr, arrayPtr);
return;
msoferplain2007-08-01 19:09:47
Logged In: YES 
user_id=148712
Originator: NO

Thanks.
Log in (anonymous is fine) to add a comment.