]> andersk Git - splint.git/blame - test/arraylit.expect
Fixed pre-processing bug reported by Adam Clarke. Moved marking point
[splint.git] / test / arraylit.expect
CommitLineData
37ae0b5e 1
2arraylit.c: (in function main)
3arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no
4 room for null terminator): "12345"
5arraylit.c:13:3: Suspect modification of observer unmodstr[0]:
6 unmodstr[0] = 'U'
7
8Finished checking --- 2 code warnings, as expected
9
10arraylit.c: (in function main)
11arraylit.c:6:38: String literal with 18 characters is assigned to char [20]
12 (possible waste of storage): "modifiable string"
13arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no
14 room for null terminator): "12345"
15arraylit.c:9:34: String literal with 6 characters is assigned to char [7]
16 (possible waste of storage): "12345"
17arraylit.c:13:3: Suspect modification of observer unmodstr[0]:
18 unmodstr[0] = 'U'
19
20Finished checking --- 4 code warnings, as expected
This page took 0.064148 seconds and 5 git commands to generate.