meson: Add -Wswitch-enum
This would have caught the issue where we forgot to add FPI_DEVICE_ACTION_CLEAR_STORAGE to fpi_device_action_error.
This commit is contained in:
parent
e9dddcc87a
commit
261ba3a4a4
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ common_cflags = cc.get_supported_arguments([
|
|||
'-Wmissing-noreturn',
|
||||
'-Wpointer-arith',
|
||||
'-Wshadow',
|
||||
'-Wswitch-enum',
|
||||
'-Wtype-limits',
|
||||
'-Wundef',
|
||||
'-Wunused',
|
||||
|
|
Loading…
Reference in a new issue