Fix compile warning due to missing return value.