CDISP0520E

A return statement is missing at the end of a function that returns a non-void type.

A path through the function exists that might reach the end of the function without encountering an executed return statement.
Ensure that a return statement is executed by all the paths through the function.