Variable other than local variable is not initialized before being read
This check occurs when you read variables that are not local (global or static variables). It determines whether the variable being read is initialized.
By default, Polyspace® considers that global variables are initialized. The verification checks global variables only if you prevent this default initialization. See also Assumptions About Global Variable Initialization.
For more examples of initialization of complex data types, see the equivalent checker for
local variables, Non-initialized local variable.
| Group: Data flow |
| Language: C | C++ |
| Acronym: NIV |