File: rc.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 (35 lines) | stat: -rw-r--r-- 1,186 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35

rc.c: (in function f)
rc.c:3:10: Observer storage returned without qualification:
              "a flag\"wicked cool"
   rc.c:3:10: Storage becomes observer

Finished checking --- 1 code warning, as expected

rc.c: (in function f)
rc.c:3:10: Return value type int does not match declared type char *: 12

Finished checking --- 1 code warning, as expected

rc2.splintrc:1:18: Setting +boolint redundant with current value
rc.c: (in function f)
rc.c:3:10: Observer storage returned without qualification: "a silly\"flag\"\\"
   rc.c:3:10: Storage becomes observer

Finished checking --- 1 code warning, as expected

rc2.splintrc:1:18: Setting +boolint redundant with current value
rc.c: (in function f)
rc.c:3:10: Unrecognized identifier: MYSTERY

Finished checking --- 1 code warning, as expected

rc3.splintrc:6:3: Flag dump must be followed by a string
  A flag is not recognized or used in an incorrect way (Use -badflag to inhibit
  warning)
rc3.splintrc:6:3: Cannot list files in .splintrc files:
                     internalnamelen, 73 (probable missing + or -)
rc.c: (in function f)
rc.c:3:10: Unrecognized identifier: MYSTERY

Finished checking --- 1 code warning, as expected