Please post a self-contained example which reproduces the issue.
How is m_u64TickCountStart declared? Are those macros like CHECK_MEM_LEAKS defined/visible to cppcheck?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get the following error for my code:
Id: shadowVariable
CWE: 398
Local variable 'm_u64TickCountStart' shadows outer variable
m_u64TickCountStart is a member variable of my CLauncher class.
This is my code:
What does the error signify? What am I doing wrong?
Last edit: Sander Bouwhuis 2024-07-22
Please post a self-contained example which reproduces the issue.
How is
m_u64TickCountStart
declared? Are those macros likeCHECK_MEM_LEAKS
defined/visible to cppcheck?