cppcheck/samples/arrayIndexOutOfBounds/out.txt

4 lines
151 B
Plaintext
Raw Permalink Normal View History

2019-08-18 12:51:32 +02:00
samples\arrayIndexOutOfBounds\bad.c:7:6: error: Array 'a[2]' accessed at index 2, which is out of bounds. [arrayIndexOutOfBounds]
a[2] = 0;
^