]> andersk Git - splint.git/blame - test/refcounts.expect
In response to [ 689702 ] Missing C99 __func__ predefined identifier
[splint.git] / test / refcounts.expect
CommitLineData
885824d3 1
2refcounts.c: (in function rp_release)
3refcounts.c:18:13: Reference counted storage passed as only param: free (x)
4refcounts.c: (in function rp_temp)
5refcounts.c:24:10: New reference returned as temp reference: rp_create2()
6refcounts.c: (in function rp_f)
80ee600a 7refcounts.c:32:3: Kill reference parameter r2 (type rp) not released before
8 assignment: r2 = rp_temp()
16c024b5 9 refcounts.c:27:50: Storage r2 becomes killref
885824d3 10refcounts.c: (in function rp_ref)
11refcounts.c:48:10: Reference counted storage returned without modifying
12 reference count: x
13refcounts.c: (in function rp_waste)
14refcounts.c:63:13: New reference z2 not released before return
15 refcounts.c:60:23: Storage z2 becomes newref
16refcounts.c: (in function rp_waste2)
80ee600a 17refcounts.c:71:3: New reference z2 (type rp) not released before assignment:
885824d3 18 z2 = rp_ref(z1)
19 refcounts.c:69:23: Storage z2 becomes newref
20refcounts.c:72:13: New reference z2 not released before return
21 refcounts.c:71:3: Storage z2 becomes newref
22
11db3170 23Finished checking --- 7 code warnings, as expected
This page took 0.068102 seconds and 5 git commands to generate.