]> andersk Git - splint.git/blame - test/modtest.expect
noexpand always false.
[splint.git] / test / modtest.expect
CommitLineData
885824d3 1
2modtest.c: (in function g)
3modtest.lcl:15: Global x listed but not used
4modtest.lcl:15: Global y listed but not used
5modtest.c:9:12: Parameter a not used
6modtest.c:9:22: Parameter p not used
7modtest.c: (in function f)
8modtest.c:16:3: Undocumented modification of i[3]: i[3] = y
9modtest.c:17:3: Undocumented modification of j[2]: j[2] = x
10modtest.c:22:3: Undocumented modification of y: y++
11modtest.c:25:3: Undocumented modification of tstp->b: tstp->b = 6
12modtest.c:26:3: Undocumented modification of y possible from call to g: g(j, i)
13modtest.c:26:3: Return value (type int) ignored: g(j, i)
14
11db3170 15Finished checking --- 10 code warnings, as expected
885824d3 16
17modtest.c: (in function g)
18modtest.lcl:15: Global x listed but not used
19modtest.lcl:15: Global y listed but not used
20modtest.c:9:12: Parameter a not used
21modtest.c:9:22: Parameter p not used
22modtest.c: (in function f)
23modtest.c:16:3: Undocumented modification of i[3]: i[3] = y
24modtest.c:17:3: Undocumented modification of j[2]: j[2] = x
25modtest.c:22:3: Undocumented modification of y: y++
26modtest.c:25:3: Undocumented modification of tstp->b: tstp->b = 6
27modtest.c:26:3: Undocumented modification of y possible from call to g: g(j, i)
28modtest.c:26:3: Return value (type int) ignored: g(j, i)
29modtest.c: (in function h)
30modtest.c:33:3: Undocumented modification of y: y++
31modtest.c:34:10: Undocumented modification of x possible from call to g:
32 g(a, &x)
33modtest.c:34:10: Undocumented modification of y possible from call to g:
34 g(a, &x)
35
11db3170 36Finished checking --- 13 code warnings, as expected
885824d3 37
38modtest.c: (in function g)
39modtest.lcl:15: Global x listed but not used
40modtest.lcl:15: Global y listed but not used
41modtest.c:12:1: Suspect object listed in modifies of g not modified: x
42 modtest.lcl:15: Specification of g
43modtest.c:12:1: Suspect object listed in modifies of g not modified: y
44 modtest.lcl:15: Specification of g
45modtest.c:9:12: Parameter a not used
46modtest.c:9:22: Parameter p not used
47modtest.c: (in function f)
48modtest.c:16:3: Undocumented modification of i[3]: i[3] = y
49modtest.c:17:3: Undocumented modification of j[2]: j[2] = x
50modtest.c:22:3: Undocumented modification of y: y++
51modtest.c:25:3: Undocumented modification of tstp->b: tstp->b = 6
52modtest.c:26:3: Undocumented modification of y possible from call to g: g(j, i)
53modtest.c:26:3: Return value (type int) ignored: g(j, i)
54modtest.c:29:1: Suspect object listed in modifies of f not modified: ai[6]
55 modtest.lcl:8: Specification of f
56modtest.c:29:1: Suspect object listed in modifies of f not modified: tstp->a
57 modtest.lcl:8: Specification of f
58
11db3170 59Finished checking --- 14 code warnings, as expected
This page took 0.093254 seconds and 5 git commands to generate.