diff options
| author | hathach <[email protected]> | 2023-03-21 13:21:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-21 13:21:59 +0700 |
| commit | ccf17e3cde4c3ca42731829107ca18217aab541e (patch) | |
| tree | 2f9863be549be4cc4e5791eab36d5faaa9dfb79f /examples | |
| parent | e44e461ce3295f5680ea211048ade473963ba016 (diff) | |
add -Wreturn-type
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk index 0a07da21c..2ce6fb398 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -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 |
