| Ticket UUID: | 969066 | ||
| Title: | compiler warnings | ||
| Type: | Bug | Created on: | 2004-06-08 17:44:59 |
| Submitter: | dgp | Assigned to: | msofer |
| Subsystem: | 47. Bytecode Compiler | Severity: | |
| Priority: | 5 Medium | Last modified: | 2004-06-09 01:30:13 |
| Status: | Closed | Closed by: | msofer |
| Resolution: | Fixed | Closed on: | 2004-06-08 18:30:13 |
| Version: | obsolete: 8.5a2 | ||
| Description: | ||||
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;
^
| ||||
| User Comments: | ||||
dgp added on 2004-06-09 00:58:13:
Logged In: YES user_id=80530 the tclCompile.c warning is in Tcl 8.4.6 also. msofer added on 2004-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. | ||||
