C5651: Local variable <variable> may be not initialized

{WARNING]

Description

The compiler issues this warning if no dominant definition is found for a local variable when it is referenced. Ignore this message if the local variable is defined implicitly (e.g. by inline assembly statements).

Example
  int f(int param_i) {

  
    int local_i;

  
      if(param_i  == 0) { 

  
       local_i = 1;    // this definition for local_i does

  
                       // NOT dominate following usage

  
    }

  
    return local_i;   // local_i referenced: no dominant

  
                      // definition for local_i found

  
  }

  
  \endcode

  
  \section tips Tips

  
  Review the code and initialize local variables at their 
  declaration (e.g. local_i = 0).