|

 
|
| | Name : | Scott Hunsaker | Organization : | Hart Intercivic | Post Date : | 9/30/2005 |
| Section : | .20.5 | Page no. : | 5-10 | Line no.: | | Comment : | 131 II 5 p 5-10 5.4.2.s
Initializes every variable upon
declaration where permitted.
"Initializes every variable upon
declaration where permitted,
and where subsequent
assignment is not guaranteed
by program flow."
Initializing a variable that is
guaranteed to have an
assigned value by program
flow causes a warning to be
generated by modern
compilers and source code
analysis tools. The standard
should not mandate coding
practices that cause compiler
warnings to be generated.
[Borland C++ Builder V. 6] [PCLint
V. 7.5] | |
|
|