Compiler Warning (level 1) C4098

'function' : void function returning a value

A function declared with return type void has a return statement that returns a value. The compiler assumes the function returns a value of type int.