C1420: Result of function-call is ignored

[WARNING]

Description

A function call was done without saving the result.

Example
  int f(void);

  
  void main(void) {

  
    f(); // ignore result

  
  }

  
Tips

Assign the function call to a variable, if you need the result afterwards. Otherwise cast the result to void. E.g.:

  int f(void);

  
  void main(void) {

  
    (void)f(); // explicitly ignore result

  
  }