Fix a missing return

Makes coverity happy