File: ud.expect

package info (click to toggle)
splint 3.1.2.dfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 12,908 kB
  • ctags: 15,816
  • sloc: ansic: 150,306; yacc: 3,463; sh: 3,426; makefile: 2,218; lex: 412
file content (21 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

ud.c: (in function f)
ud.c:8:7: Variable y used before definition
ud.c:10:7: Variable z used before definition
ud.c:25:7: Variable z3 used before definition
ud.c:26:7: Variable z4 used before definition
ud.c:31:7: Variable z6 used before definition
ud.c:38:11: Variable j used before definition
ud.c:49:6: Variable i used before definition
ud.c:50:6: Variable z5 used before definition
ud.c:56:7: Variable z5 used before definition

Finished checking --- 9 code warnings, as expected

ud2.c: (in function g)
ud2.c:9:6: Unallocated storage y passed as out parameter to f1: y
ud2.c: (in function h)
ud2.c:20:7: Passed storage &x not completely defined: f2 (&x)
ud2.c:23:7: Variable y used before definition

Finished checking --- 3 code warnings, as expected