fix missing returns reported by eclipse
Merge pull request #71 from cgzones/returns

fix missing returns reported by eclipse