aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-06-28 23:31:55 +0200
committerBrian Behlendorf <[email protected]>2022-07-28 14:17:38 -0700
commit17512aba0c33f73b74e5bd10f11e6d41c10f709f (patch)
treea7fa2c858c8e7814d376f8b6d65374ec7add96d4 /module
parent98315be03600dee78f5c844ed4ef422098493a24 (diff)
module: lua: ldo: fix pragma name
/home/nabijaczleweli/store/code/zfs/module/lua/ldo.c:175:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] 175 | #pragma GCC diagnostic ignored "-Winfinite-recursion"a | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: a6e8113fed8a508ffda13cf1c4d8da99a4e8133a ("Silence -Winfinite-recursion warning in luaD_throw()") Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13348
Diffstat (limited to 'module')
-rw-r--r--module/lua/ldo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/lua/ldo.c b/module/lua/ldo.c
index 821c42875..08a952007 100644
--- a/module/lua/ldo.c
+++ b/module/lua/ldo.c
@@ -173,7 +173,7 @@ static void seterrorobj (lua_State *L, int errcode, StkId oldtop) {
*/
#if defined(HAVE_INFINITE_RECURSION)
#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Winfinite-recursion"a
+#pragma GCC diagnostic ignored "-Winfinite-recursion"
#endif
l_noret luaD_throw (lua_State *L, int errcode) {