A return statement with an expression in a function returning void now generates a level 1 warning and the code in the return expression is not evaluated. In this example with Microsoft C version 6.0, func1 was called, but func1 is not called when using Microsoft C version 7.0.
void funct1()
{
}
void funct2()
{
return funct1();
}