add -Wreturn-type

This commit is contained in:
hathach 2023-03-21 13:21:59 +07:00
parent e44e461ce3
commit ccf17e3cde
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ GCC_CFLAGS += \
-Wnull-dereference \
-Wuninitialized \
-Wunused \
-Wreturn-type \
-Wredundant-decls
# conversion is too strict for most mcu driver, may be disable sign/int/arith-conversion