Skip to content
Tcl Source Code Artifact [338734e990]
Login

Artifact [338734e990]

Artifact 338734e99062f7f153e4ad4164b1bfbce3b1e54c:

Manifest of check-in [338734e990] - * generic/tclStrToD.c (SetPrecisionLimits, TclDoubleDigits): Added meaningless initialization of 'i', 'ilim' and 'ilim1' to silence warnings from the C compiler about possible use of uninitialized variables, Added a panic to the 'switch' that assigns them, to assert that the 'default' case is impossible. [Bug 3124675] by kennykb on 2010-12-01 16:28:21.
B 769801ace1040dc40a1bcbc3f02ea15b8258c8fb
C *\sgeneric/tclStrToD.c\s(SetPrecisionLimits,\sTclDoubleDigits):\nAdded\smeaningless\sinitialization\sof\s'i',\s'ilim'\sand\s'ilim1'\nto\ssilence\swarnings\sfrom\sthe\sC\scompiler\sabout\spossible\suse\sof\nuninitialized\svariables,\sAdded\sa\spanic\sto\sthe\s'switch'\sthat\nassigns\sthem,\sto\sassert\sthat\sthe\s'default'\scase\sis\simpossible.\n[Bug\s3124675]\n
D 2010-12-01T16:28:21
F ChangeLog ca5c2b409f0c767458152b2791112d8c54f47741
F generic/tclStrToD.c f3bbc7a8923e01cef7ff072a2b8b8d6280857ed0 x
P 769801ace1040dc40a1bcbc3f02ea15b8258c8fb
U kennykb
Z c9c955169ca08db11c7509dcd400ecc3