WARN18-Function result not set

Top  Previous  Next

 

Function result not set (WARN18)

 

This is a list of all functions where the result value is not always set. It may be set for some but not all possible code paths. Although this is acceptable for the compiler, it implies an error in the code. Maybe the function could be implemented as a procedure instead, if the result value is not needed.

 

Functions that return long strings are not examined. Those strings are zero-initialized by the function.

 

Recommendation:

Check these functions and examine if they should be implemented as procedures instead.

 

 

See also:

 

Alerts