Fix a Warning:return-type

Fix Warning:return-type