]> andersk Git - splint.git/blame - test/lintcomments.expect
Fixed off by one bug involving arrays initialized with a block of values.
[splint.git] / test / lintcomments.expect
CommitLineData
885824d3 1
2lintcomments.c: (in function f)
1b8ae690 3lintcomments.c:7:51: Traditional lint comment /*FALLTHROUGH*/ used. Splint
4 interprets this in the same way as most Unix lints, but it is preferable to
5 replace it with the /*@fallthrough@*/ semantic comment
6lintcomments.c:8:33: Traditional lint comment /*FALLTHROUGH*/ used. Splint
7 interprets this in the same way as most Unix lints, but it is preferable to
8 replace it with the /*@fallthrough@*/ semantic comment
9lintcomments.c:9:30: Traditional lint comment /*FALLTHRU*/ used. Splint
10 interprets this in the same way as most Unix lints, but it is preferable to
11 replace it with the /*@fallthrough@*/ semantic comment
2209bcb7 12lintcomments.c:11:13: Fall through case (no preceding break)
1b8ae690 13lintcomments.c:23:21: Traditional lint comment /*NOTREACHED*/ used. Splint
14 interprets this in the same way as most Unix lints, but it is preferable to
15 replace it with the /*@notreached@*/ semantic comment.
885824d3 16
fafc64cf 17Finished checking --- 5 code warnings, as expected
885824d3 18
19lintcomments.c: (in function f)
2209bcb7 20lintcomments.c:11:13: Fall through case (no preceding break)
885824d3 21
11db3170 22Finished checking --- 1 code warning, as expected
885824d3 23
24lintcomments.c: (in function f)
2209bcb7 25lintcomments.c:9:10: Fall through case (no preceding break)
26lintcomments.c:10:10: Fall through case (no preceding break)
27lintcomments.c:11:13: Fall through case (no preceding break)
885824d3 28lintcomments.c:24:8: Unreachable code: i++
29
11db3170 30Finished checking --- 4 code warnings, as expected
This page took 0.183819 seconds and 5 git commands to generate.