]> andersk Git - splint.git/blob - test/arraylit.expect
Pushed back constraintResolve.c to the previous version.
[splint.git] / test / arraylit.expect
1
2 arraylit.c: (in function main)
3 arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no
4                     room for null terminator): "12345"
5 arraylit.c:13:3: Suspect modification of observer unmodstr[0]:
6                     unmodstr[0] = 'U'
7    arraylit.c:5:24: Storage unmodstr[0] becomes observer
8
9 Finished checking --- 2 code warnings, as expected
10
11 arraylit.c: (in function main)
12 arraylit.c:6:38: String literal with 18 characters is assigned to char [20]
13                     (possible waste of storage): "modifiable string"
14 arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no
15                     room for null terminator): "12345"
16 arraylit.c:9:34: String literal with 6 characters is assigned to char [7]
17                     (possible waste of storage): "12345"
18 arraylit.c:13:3: Suspect modification of observer unmodstr[0]:
19                     unmodstr[0] = 'U'
20    arraylit.c:5:24: Storage unmodstr[0] becomes observer
21
22 Finished checking --- 4 code warnings, as expected
This page took 0.041575 seconds and 5 git commands to generate.