Eliminate calling void function from return in void function

Merge request reports