|
Void vs. Int
For a function, including start(), etc. is there any benefit or consequence to having it as an in ("int start()") versus a void ("void start()") if you never check the result of the returned result of the function?
I see many functions that are routinely defined as an int (init(), deinit(), start())but the value is never checked. I don't know if it is just wasted cycles (albeit tiny ones) in having them as int versus void.
Thanks.
|