Fix warning/error about no return value

Just a simple fix for a build error