Added more warnings, fixed one of them by scoping a variable
This commit is contained in:
parent
d51238481a
commit
7f241960a5
2 changed files with 15 additions and 8 deletions
5
Makefile
5
Makefile
|
@ -105,6 +105,11 @@ linty: CCFLAGS += -Wstrict-prototypes
|
|||
linty: CCFLAGS += -Wmissing-prototypes
|
||||
linty: CCFLAGS += -Wmissing-declarations
|
||||
linty: CCFLAGS += -Wshadow
|
||||
linty: CCFLAGS += -Wduplicated-cond
|
||||
linty: CCFLAGS += -Wduplicated-branches
|
||||
linty: CCFLAGS += -Wlogical-op
|
||||
linty: CCFLAGS += -Wnull-dereference
|
||||
linty: CCFLAGS += -Wjump-misses-init
|
||||
linty: CCFLAGS += -Wfloat-equal
|
||||
linty: CCFLAGS += -Wcast-align
|
||||
linty: CCFLAGS += -Wwrite-strings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue