Void function returns value
The VOIDRET checker finds functions declared as void that return a value.
Vulnerability and risk
This issue is typically style-related, but may indicate a logic problem in the code.
Vulnerable code example
Klocwork flags line 6, in which a value is returned from void function foo().