Fix a return value not being set