mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C++: add test comments
This commit is contained in:
committed by
Robert Marsh
parent
681cc4c755
commit
86ab9608cd
@@ -84,7 +84,7 @@ void testEqRefinement() {
|
||||
|
||||
for(int i = 0; i <= MAX_SIZE; i++) {
|
||||
if(i != MAX_SIZE) {
|
||||
arr[i] = 0;
|
||||
arr[i] = 0; // GOOD
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,7 @@ void testEqRefinement2() {
|
||||
if(i == MAX_SIZE) {
|
||||
break;
|
||||
}
|
||||
n = arr[i];
|
||||
n = arr[i]; // GOOD
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ void testEqRefinement2() {
|
||||
if (i == MAX_SIZE) {
|
||||
break;
|
||||
}
|
||||
n = arr[i];
|
||||
n = arr[i]; // GOOD
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user