Compiler Error C2561

'identifier' : function must return a value

The specified function was declared as returning a value, but the function definition did not contain a return statement.

This error can be caused by an incorrect function prototype.

Tips