return void instead of unit_32
Merge pull request #547 from PrometheusPi/fix-warningsMissingReturnStatement

fix warnings of non-void return functions