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 >
Text File  |  1997-09-03  |  1KB  |  29 lines

  1.  
  2. unreachable.c: (in function f)
  3. unreachable.c:6,4: Unreachable code: x++
  4. unreachable.c: (in function tu)
  5. unreachable.c:21,7: Unreachable code: return
  6. unreachable.c:24,4: Unreachable code: y++
  7. unreachable.c: (in function s)
  8. unreachable.c:33,29: Unreachable code: z--
  9. unreachable.c:34,10: Fall through case (no preceeding break)
  10. unreachable.c:45,4: Unreachable code: z++
  11.  
  12. Finished LCLint checking --- 6 code errors found, as expected
  13.  
  14. unreachable.c: (in function s)
  15. unreachable.c:34,10: Fall through case (no preceeding break)
  16. unreachable.c:46,2: Path with no return in function declared to return int
  17.  
  18. Finished LCLint checking --- 2 code errors found, as expected
  19.  
  20. switch.c: (in function f3)
  21. switch.c:31,2: Path with no return in function declared to return int
  22. switch.c: (in function f5)
  23. switch.c:49,6: Missing case in switch: THREE
  24. switch.c:50,2: Path with no return in function declared to return int
  25. switch.c: (in function f6)
  26. switch.c:70,2: Path with no return in function declared to return int
  27.  
  28. Finished LCLint checking --- 4 code errors found, as expected
  29.