Skip to content

Commit ccf17e3

Browse files
committed
add -Wreturn-type
1 parent e44e461 commit ccf17e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/make.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ GCC_CFLAGS += \
150150
-Wnull-dereference \
151151
-Wuninitialized \
152152
-Wunused \
153+
-Wreturn-type \
153154
-Wredundant-decls
154155

155156
# conversion is too strict for most mcu driver, may be disable sign/int/arith-conversion

0 commit comments

Comments
 (0)