User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    Using v1.79, I found a false positive. It is triggered by something like this small .c test.c int GetVal (void) { return 0x123548; } int * GetPtr (int *pPtr) { return pPtr; } int main (void) { int x, *pPtr; x = GetVal (); if (pPtr = GetPtr (&x), pPtr == NULL) x = 0x01; else { x = *pPtr; } return x; } Best Regards Stefano

View All

Personal Data

Username:
sbordoni
Joined:
2001-01-29 13:33:47

Projects

  • No projects to display.

Personal Tools