User Activity

  • Posted a comment on discussion Development on cppcheck

    Created tickets 8119 and 8120 for these FPs. S.

  • Posted a comment on discussion Development on cppcheck

    Hi, I've managed to isolate a couple of false positives that are issues in our codebase. It's not clear how I go about getting an account to create these directly so I thought that I would post here! FP 1 void bar() { char aMixed[] = "aBcDeF"; const char aUpper[] = "ABCDEF"; ToUpper(aMixed); (void)memcmp(aMixed, aUpper, sizeof aUpper); } On the memcmp line, I get: Summary: Unnecessary comparison of static strings. Message: The compared strings, '"aBcDeF"' and '"ABCDEF"', are always unequal. Therefore...

View All

Personal Data

Username:
stevephill
Joined:
2017-07-11 13:24:19

Projects

  • No projects to display.

Personal Tools