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 / strings.expect < prev    next >
Text File  |  1997-09-03  |  989b  |  24 lines

  1.  
  2. strings.c:21,6: Function main declared to return void, should return int
  3. strings.c: (in function main)
  4. strings.c:24,14: Function call may modify observer: "hullo"
  5. strings.c:25,7: Observer storage passed as only param: f3 ("hullo")
  6.    strings.c:25,7: Storage becomes observer
  7.  
  8. Finished LCLint checking --- 3 code errors found, as expected
  9.  
  10. strings.c:21,6: Function main declared to return void, should return int
  11.  
  12. Finished LCLint checking --- 1 code error found, as expected
  13.  
  14. strings.c: (in function main)
  15. strings.c:23,14: Call to unconstrained function f1 may modify observer: "hullo"
  16.    strings.c:23,14: Storage becomes observer
  17. strings.c:24,14: Function call may modify observer: "hullo"
  18. strings.c:25,7: Call to unconstrained function f3 may modify observer: "hullo"
  19.    strings.c:25,7: Storage becomes observer
  20. strings.c:25,7: Observer storage passed as only param: f3 ("hullo")
  21.    strings.c:25,7: Storage becomes observer
  22.  
  23. Finished LCLint checking --- 4 code errors found, as expected
  24.