remove extra return statement

Issue(s) found via [cppcheck](http://cppcheck.sourceforge.net/).