]> andersk Git - splint.git/blame_incremental - test/arrayinit.expect
Improved tracking of state change locations. Added +showdeephistory
[splint.git] / test / arrayinit.expect
... / ...
CommitLineData
1
2arrayinit.c:1:12: Initializer block for x has 4 elements, but declared as int
3 [3]: 1, 2, 3, 4
4arrayinit.c:2:12: Initializer block for a has 2 elements, but declared as int
5 [3]: 1, 2
6arrayinit.c:3:16: Initializer block for aa has 2 elements, but declared as int
7 [3] [3]: { 1, 2, 3 }, { 4, 5 }
8arrayinit.c:4:18: Initializer block for aa[1] has 2 elements, but declared as
9 int [3]: 4, 5
10arrayinit.c:10:15: String literal with 4 characters is assigned to char [3] (no
11 room for null terminator): "abc"
12arrayinit.c:11:15: String literal with 5 characters (counting null terminator)
13 is assigned to char [3] (insufficient storage available): "abcd"
14arrayinit.c:14:40: String literal with 4 characters is assigned to char [3] (no
15 room for null terminator): "def"
16arrayinit.c:14:47: String literal with 6 characters (counting null terminator)
17 is assigned to char [3] (insufficient storage available): "gasdf"
18arrayinit.c:17:22: Initializer block for a3[1] has 3 elements, but declared as
19 int [2]: 3, 4, 5
20
21Finished checking --- 9 code warnings, as expected
This page took 0.039168 seconds and 5 git commands to generate.