mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
CPP: Apply recommended fix.
This commit is contained in:
@@ -3,3 +3,4 @@
|
||||
| test.cpp:83:10:83:15 | ... == ... | Self comparison. |
|
||||
| test.cpp:90:10:90:15 | ... == ... | Self comparison. |
|
||||
| test.cpp:118:7:118:32 | ... != ... | Self comparison. |
|
||||
| test.cpp:151:11:151:16 | ... == ... | Self comparison. |
|
||||
|
||||
@@ -148,5 +148,5 @@ void useMarkRange(int offs) {
|
||||
#define MY_MACRO(x) (x)
|
||||
|
||||
void myMacroTest(int x) {
|
||||
MY_MACRO(x == x); // BAD [NOT DETECTED]
|
||||
MY_MACRO(x == x); // BAD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user