home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
unreachable.expect
< prev
next >
Wrap
Text File
|
1997-09-03
|
1KB
|
29 lines
unreachable.c: (in function f)
unreachable.c:6,4: Unreachable code: x++
unreachable.c: (in function tu)
unreachable.c:21,7: Unreachable code: return
unreachable.c:24,4: Unreachable code: y++
unreachable.c: (in function s)
unreachable.c:33,29: Unreachable code: z--
unreachable.c:34,10: Fall through case (no preceeding break)
unreachable.c:45,4: Unreachable code: z++
Finished LCLint checking --- 6 code errors found, as expected
unreachable.c: (in function s)
unreachable.c:34,10: Fall through case (no preceeding break)
unreachable.c:46,2: Path with no return in function declared to return int
Finished LCLint checking --- 2 code errors found, as expected
switch.c: (in function f3)
switch.c:31,2: Path with no return in function declared to return int
switch.c: (in function f5)
switch.c:49,6: Missing case in switch: THREE
switch.c:50,2: Path with no return in function declared to return int
switch.c: (in function f6)
switch.c:70,2: Path with no return in function declared to return int
Finished LCLint checking --- 4 code errors found, as expected