File: sizesigns.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 (26 lines) | stat: -rw-r--r-- 1,263 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

Command Line: Setting mode strict after setting mode flags will override set
                 values of flags: exportlocal
sizesigns.c: (in function foo)
sizesigns.c:5:7: Operands of == have incompatible types (arbitrary unsigned
                    integral type, int): z / sizeof((z)) == 10
sizesigns.c:6:12: Body of if clause of if statement is not a block: return 1
sizesigns.c:8:12: Body of else clause of if statement is not a block: return 0
sizesigns.c:3:5: Function foo declared but not used
   sizesigns.c:9:1: Definition of foo
sizesigns.c:3:5: Function foo exported but not declared in header file
   sizesigns.c:9:1: Definition of foo

Finished checking --- 5 code warnings, as expected

Command Line: Setting mode strict after setting mode flags will override set
                 values of flags: exportlocal
sizesigns.c: (in function foo)
sizesigns.c:6:12: Body of if clause of if statement is not a block: return 1
sizesigns.c:8:12: Body of else clause of if statement is not a block: return 0
sizesigns.c:3:5: Function foo declared but not used
   sizesigns.c:9:1: Definition of foo
sizesigns.c:3:5: Function foo exported but not declared in header file
   sizesigns.c:9:1: Definition of foo

Finished checking --- 4 code warnings, as expected