Compiler Error C2184

illegal return of a 'void' value

The function did not return a value.

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