...
The Coverity Prevent UNUSED_VALUE checker finds variables that are assigned pointer values returned from a function call but never used.
The Klocwork IF_ONLY_DECL, IF_ONLY_DEF, and IF_ONLY_LOCAL checkers can detect violations of this rule.
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...