From 261ba3a4a489eee6285dab08688f71c75035bbd2 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 29 Apr 2021 14:16:29 +0200 Subject: [PATCH] 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. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 3ac2706..a219f78 100644 --- a/meson.build +++ b/meson.build @@ -33,6 +33,7 @@ common_cflags = cc.get_supported_arguments([ '-Wmissing-noreturn', '-Wpointer-arith', '-Wshadow', + '-Wswitch-enum', '-Wtype-limits', '-Wundef', '-Wunused',