]>
Commit | Line | Data |
---|---|---|
37ae0b5e | 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 | ||
8 | Finished checking --- 2 code warnings, as expected | |
9 | ||
10 | arraylit.c: (in function main) | |
11 | arraylit.c:6:38: String literal with 18 characters is assigned to char [20] | |
12 | (possible waste of storage): "modifiable string" | |
13 | arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no | |
14 | room for null terminator): "12345" | |
15 | arraylit.c:9:34: String literal with 6 characters is assigned to char [7] | |
16 | (possible waste of storage): "12345" | |
17 | arraylit.c:13:3: Suspect modification of observer unmodstr[0]: | |
18 | unmodstr[0] = 'U' | |
19 | ||
20 | Finished checking --- 4 code warnings, as expected |