Implicitly int function returns void value
The RETVOID.IMPLICIT checker finds instances in which an implicitly int function has an explicit return statement with no value.
Vulnerability and risk
If the returned value is used, it can cause the use of uninitialized memory.
Vulnerable code example
#define OK 1
Klocwork flags line 6 in this code, in which the implicitly int function func() has a return statement with no value.