]> andersk Git - splint.git/blob - test/lintcomments.out
The code almost work.
[splint.git] / test / lintcomments.out
1
2 lintcomments.c: (in function f)
3 lintcomments.c:8:33: Traditional lint comment /*FALLTHROUGH*/ used.  This is
4     interpreted by LCLint in the same way as most Unix lints, but it is
5     preferable to replace it with the /*@fallthrough@*/ stylized comment
6 lintcomments.c:9:30: Traditional lint comment /*FALLTHRU*/ used.  This is
7     interpreted by LCLint in the same way as most Unix lints, but it is
8     preferable to replace it with the /*@fallthrough@*/ stylized comment
9 lintcomments.c:11:13: Fall through case (no preceeding break)
10 lintcomments.c:23:21: Traditional lint comment /*NOTREACHED*/ used.  This is
11     interpreted by LCLint in the same way as most Unix lints, but it is
12     preferable to replace it with the /*@notreached@*/ stylized comment.
13
14 Finished LCLint checking --- 4 code errors found, as expected
15
16 lintcomments.c: (in function f)
17 lintcomments.c:11:13: Fall through case (no preceeding break)
18
19 Finished LCLint checking --- 1 code error found, as expected
20
21 lintcomments.c: (in function f)
22 lintcomments.c:9:10: Fall through case (no preceeding break)
23 lintcomments.c:10:10: Fall through case (no preceeding break)
24 lintcomments.c:11:13: Fall through case (no preceeding break)
25 lintcomments.c:24:8: Unreachable code: i++
26
27 Finished LCLint checking --- 4 code errors found, as expected
This page took 0.103944 seconds and 5 git commands to generate.