C++: Accept test changes.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-07-16 11:00:38 +01:00
parent d539ce0a01
commit 68e3be187a
2 changed files with 1 additions and 2 deletions

View File

@@ -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. |

View File

@@ -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
{
}
}