'function' : function should return a value; void return type assumed
The given function did not specify a return type; the compiler assumed that the return type was void.
This warning can be avoided by declaring functions as void that do not return a value.