Tcl Source Code

View Ticket
Login
Ticket UUID: 706581
Title: compilation warning on new [switch] compiler
Type: Bug Created on: 2003-03-19 22:44:22
Submitter: msofer Assigned to: dkf
Subsystem: 47. Bytecode Compiler Severity:
Priority: 1 Zero Last modified: 2003-03-20 17:16:46
Status: Closed Closed by: dkf
Resolution: Fixed Closed on: 2003-03-20 10:16:46
Version: obsolete: 8.5a0
Description:
Compiling on linux (gcc 2.96) I get the warnings

./../generic/tclCompCmds.c: In function
`TclCompileSwitchCmd':
./../generic/tclCompCmds.c:2865: warning:
`contFixCount' might be used uninitialized in this function
./../generic/tclCompCmds.c:3051: warning:
`nextArmFixupIndex' might be used uninitialized in this
function
User Comments:
dkf added on 2003-03-20 17:16:46:
Logged In: YES 
user_id=79902

Hmph.  It's technically wrong, but right because it's
incapable of analyzing deeply enough.