C5702: Local variable '<Variable>' declared in function '<Function>' but not referenced

[INFORMATION]

Description

The Compiler has detected a local variable which is not used.

Example
  void main(void) {

  
    int i;

  
  }

  
Tips

Remove the variable if it is never used. If it is used in some situations with conditional compilation, use the same conditions in the declaration as in the usages.