]> andersk Git - splint.git/blame - test/blocks.expect
Created repository.
[splint.git] / test / blocks.expect
CommitLineData
885824d3 1
2blocks.c: (in function f)
3blocks.c:3:15: Body of if statement is empty
4blocks.c:4:10: Suspected infinite loop. No value used in loop test (x) is
5 modified by test or loop body.
6blocks.c:21:16: Body of if clause of if statement is empty
7blocks.c:22:9: Body of else clause of if statement is empty
8
9Finished LCLint checking --- 4 code errors found, as expected
10
11blocks.c: (in function f)
12blocks.c:3:15: Body of if statement is empty
13blocks.c:4:10: Suspected infinite loop. No value used in loop test (x) is
14 modified by test or loop body.
15blocks.c:6:15: Body of if statement is not a block: x++
16blocks.c:16:12: Incomplete else if logic (no final else): if (x == 1) { x = 4 }
17blocks.c:19:8: Body of else clause of if statement is not a block: x = 4
18blocks.c:21:16: Body of if clause of if statement is empty
19blocks.c:22:9: Body of else clause of if statement is empty
20
21Finished LCLint checking --- 7 code errors found, as expected
22
23blocks.c: (in function f)
24blocks.c:4:18: Body of while statement is empty
25blocks.c:4:10: Suspected infinite loop. No value used in loop test (x) is
26 modified by test or loop body.
27blocks.c:7:18: Body of while statement is not a block: x++
28
29Finished LCLint checking --- 3 code errors found, as expected
30
31blocks.c: (in function f)
32blocks.c:4:10: Suspected infinite loop. No value used in loop test (x) is
33 modified by test or loop body.
34blocks.c:12:23: Body of for statement is empty
35blocks.c:13:23: Body of for statement is not a block: x++
36
37Finished LCLint checking --- 3 code errors found, as expected
38
39blocks.c: (in function f)
40blocks.c:3:15: Body of if statement is empty
41blocks.c:4:18: Body of while statement is empty
42blocks.c:4:10: Suspected infinite loop. No value used in loop test (x) is
43 modified by test or loop body.
44blocks.c:12:23: Body of for statement is empty
45blocks.c:21:16: Body of if clause of if statement is empty
46blocks.c:22:9: Body of else clause of if statement is empty
47
48Finished LCLint checking --- 6 code errors found, as expected
49
50blocks.c: (in function f)
51blocks.c:3:15: Body of if statement is empty
52blocks.c:4:18: Body of while statement is empty
53blocks.c:4:10: Suspected infinite loop. No value used in loop test (x) is
54 modified by test or loop body.
55blocks.c:6:15: Body of if statement is not a block: x++
56blocks.c:7:18: Body of while statement is not a block: x++
57blocks.c:12:23: Body of for statement is empty
58blocks.c:13:23: Body of for statement is not a block: x++
59blocks.c:16:12: Incomplete else if logic (no final else): if (x == 1) { x = 4 }
60blocks.c:19:8: Body of else clause of if statement is not a block: x = 4
61blocks.c:21:16: Body of if clause of if statement is empty
62blocks.c:22:9: Body of else clause of if statement is empty
63
64Finished LCLint checking --- 11 code errors found, as expected
This page took 0.178836 seconds and 5 git commands to generate.