silence compilation warnings on use of void + return

it is enabled by default.

offcourse there could be an explicit reason to use void and return, then please explain me