File: stack.expect

package info (click to toggle)
lclint 1%3A2.4b-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,996 kB
  • ctags: 9,589
  • sloc: ansic: 100,034; lex: 2,754; yacc: 2,472; makefile: 835
file content (14 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

stack.c: (in function stack1)
stack.c:10:2: Stack-allocated storage *x reachable from parameter x
   stack.c:9:3: Storage *x becomes stack
stack.c:10:2: Stack-allocated storage glob reachable from global glob
   stack.c:8:3: Storage glob becomes stack
stack.c: (in function f)
stack.c:20:14: Stack-allocated storage &x reachable from return value: &x
stack.c:31:11: Stack-allocated storage sa reachable from return value: sa
stack.c:35:11: Stack-allocated storage sa reachable from return value: &sa[0]

Finished LCLint checking --- 5 code errors found, as expected

Finished LCLint checking --- no code errors found