P
pembed2012
I have seen redundant return statements at the end of function. IE.
init_function()
{
a_init();
b_init();
c_init();
return();
}
I checked the generated code in GCC Compiler 3.2.2 on Red Hat Linux it
is ignored so it not harmful to use this.
Has anybody got any problem/issues with this on any compiler/platform?
init_function()
{
a_init();
b_init();
c_init();
return();
}
I checked the generated code in GCC Compiler 3.2.2 on Red Hat Linux it
is ignored so it not harmful to use this.
Has anybody got any problem/issues with this on any compiler/platform?