mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-24 09:01:35 +00:00
Add implicit-fallthrough flag to Makefile in comment.
This flag prevents many warnings by allowing the compiler to recognize the "fall through" comments.
This commit is contained in:
parent
3d25a90142
commit
b97638be68
1
Makefile
1
Makefile
@ -6,6 +6,7 @@ EXTRA_CFLAGS += -O2
|
||||
#EXTRA_CFLAGS += -Werror
|
||||
#EXTRA_CFLAGS += -pedantic
|
||||
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
|
||||
#EXTRA_CFLAGS += -Wimplicit-fallthrough=1
|
||||
|
||||
EXTRA_CFLAGS += -Wno-unused-variable
|
||||
#EXTRA_CFLAGS += -Wno-unused-value
|
||||
|
Loading…
Reference in New Issue
Block a user