C1404: Return expected

[WARNING]

Description

A function with a return type has no return statement. In C it's a warning, in C++ an error.

Example
  int f() {}  // warning

  
Tips

Insert a return statement, if you want to return something, otherwise declare the function as returning void type.