]> andersk Git - splint.git/blame - test/tests2.5.expect
Improved tracking of state change locations. Added +showdeephistory
[splint.git] / test / tests2.5.expect
CommitLineData
cc78dedd 1
11db3170 2Finished checking --- no warnings
cc78dedd 3
4boolt.c: (in function test)
5boolt.c:7:16: Function test expects arg 1 to be pan_bool_t gets int: 2
6
11db3170 7Finished checking --- 1 code warning, as expected
cc78dedd 8
9uconstants.c: (in function f)
10uconstants.c:2:16: Variable x0 declared but not used
11uconstants.c:3:21: Variable x1 declared but not used
12
11db3170 13Finished checking --- 2 code warnings, as expected
cc78dedd 14
15hoof.c: (in function main)
16hoof.c:12:16: Function init_arr expects arg 2 to be long int * gets int *: &j
17
11db3170 18Finished checking --- 1 code warning, as expected
cc78dedd 19
11db3170 20Finished checking --- no warnings
cc78dedd 21
11db3170 22Finished checking --- no warnings
cc78dedd 23
24booltest.c: (in function f)
cc78dedd 25booltest.c:8:7: Test expression for if not bool, type int: i
2e127cb8 26booltest.c:9:12: Return value type int does not match declared type bool: i
cc78dedd 27
11db3170 28Finished checking --- 2 code warnings, as expected
cc78dedd 29
11db3170 30Finished checking --- no warnings
cc78dedd 31
32booltest.c: (in function f)
33booltest.c:9:12: Return value type int does not match declared type bool: i
34
11db3170 35Finished checking --- 1 code warning, as expected
80ee600a 36
11db3170 37Finished checking --- no warnings
80ee600a 38
11db3170 39Finished checking --- no warnings
80ee600a 40
41immutable.c: (in function immutable_create)
42immutable.c:7:6: Arrow access from possibly null pointer res: res->x
43 immutable.c:5:19: Storage res may become null
44immutable.c:8:10: Fresh storage returned as unqualified (should be only): res
16c024b5 45 immutable.c:5:54: Fresh storage res created
80ee600a 46
11db3170 47Finished checking --- 2 code warnings, as expected
80ee600a 48
49impabsmodule.c: (in function isTwo)
50impabsmodule.c:10:7: Variable var used before definition
51impabsmodule.c:10:12: Variable var2 used before definition
52
11db3170 53Finished checking --- 2 code warnings, as expected
This page took 0.389543 seconds and 5 git commands to generate.