aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/lua/lcode.c')
-rw-r--r--module/lua/lcode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/lua/lcode.c b/module/lua/lcode.c
index ae9a3d91d..4d88c792a 100644
--- a/module/lua/lcode.c
+++ b/module/lua/lcode.c
@@ -8,6 +8,10 @@
#define lcode_c
#define LUA_CORE
+#if defined(HAVE_IMPLICIT_FALLTHROUGH)
+#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
+#endif
+
#include <sys/lua/lua.h>
#include "lcode.h"