CI; fix test/cfg/openmp.c
This commit is contained in:
parent
809c70b9c3
commit
105bb78775
|
@ -15,6 +15,7 @@ void validCode()
|
||||||
int arr[20] = { 0 };
|
int arr[20] = { 0 };
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
for (int i = 0; i < 20; ++i) {
|
for (int i = 0; i < 20; ++i) {
|
||||||
|
// cppcheck-suppress unreadVariable
|
||||||
arr[i] = i * i;
|
arr[i] = i * i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue