Compiler Warning (level 1) C4098


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

'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.