Neat, thank you!
Simple reproduction: // cppcheck --enable=style --inconclusive a.c #define dbgMsg(msg,...) int main(int argc, char** argv) { if (1 == argc) { dbgMsg("No arguments.\n"); } else { dbgMsg("First argument is %s.\n", argv[1]); } return 0; } Deleting both of the calls to the dbgMsg macro silences the error. That is: two identical empty branches don't report a duplicateBranch error, but two branches that behave as empty after passing through the pre-processor do report that error. (In the real code, dbgMsg()...
exception configuring keys
Here's what I did just now to demonstrate. I'm using the congruity master ("download...
Here's what I did just now to demonstrate. I'm using the congruity master ("download...
"Listen to Music" hardkey always turns off TV
Thank you! It programmed successfully (and found me a Steve McQueen movie!).
Exception adding activities for 650