mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: Accept test changes.
This commit is contained in:
@@ -14,4 +14,3 @@
|
||||
| test.cpp:276:11:276:19 | ... > ... | Unsigned subtraction can never be negative. |
|
||||
| test.cpp:288:10:288:18 | ... > ... | Unsigned subtraction can never be negative. |
|
||||
| test.cpp:312:9:312:25 | ... > ... | Unsigned subtraction can never be negative. |
|
||||
| test.cpp:335:6:335:18 | ... > ... | Unsigned subtraction can never be negative. |
|
||||
|
||||
@@ -332,7 +332,7 @@ void test20(int a, bool b, unsigned long c)
|
||||
x = a - c;
|
||||
}
|
||||
|
||||
if (a - c - x > 0) // GOOD [FALSE POSITIVE]
|
||||
if (a - c - x > 0) // GOOD
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user