danmar/cppcheck — pull request #397 by Dmitry-Me (2014-08-14 12:14:51+00:00)
Title: Resolve CID 1037079

Cppcheck cannot detect this because it's a problem of combines usage of two functions.

The second check which is eliminated here becomes redundant once the first check is introduced.