Skip to content
Tcl Source Code View Ticket
Login

View Ticket

compiler warnings

Closed / Fixed969066ffffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-06-08 17:44:59
cc-1552 cc: WARNING File = ./../generic/tclCompile.c,
Line = 1637
  The variable "nextPtr" is set but never used.

      unsigned char *nextPtr;

cc-1552 cc: WARNING File = ./../generic/tclExecute.c,
Line = 3992
  The variable "i" is set but never used.

            long i;
                 ^

cc-1552 cc: WARNING File = ./../generic/tclExecute.c,
Line = 5409
  The variable "i" is set but never used.

            long i;
                 ^
dgpplain2004-06-09 00:58:13
Logged In: YES 
user_id=80530


the tclCompile.c warning is
in Tcl 8.4.6 also.
msofer Closed ticket [969066ffff]. [History diff]2004-06-09 01:30:11
msoferplain2004-06-09 01:30:13
Logged In: YES 
user_id=148712

tclCompile.c: fixed (variable used only when debugging)

tclExecute.c: can't fix cheaply; variable is set in the
GET_WIDE_OR_INT macro, but is not used in INST_UPLUS which
just does conversion to integer in that case. IMHO, there is
not enough justification for a special macro. Adding a
comment for now.
Log in (anonymous is fine) to add a comment.