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: a6e8113fed
("Silence
-Winfinite-recursion warning in luaD_throw()")
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13348
This commit is contained in:
parent
98315be036
commit
17512aba0c
|
@ -173,7 +173,7 @@ static void seterrorobj (lua_State *L, int errcode, StkId oldtop) {
|
||||||
*/
|
*/
|
||||||
#if defined(HAVE_INFINITE_RECURSION)
|
#if defined(HAVE_INFINITE_RECURSION)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Winfinite-recursion"a
|
#pragma GCC diagnostic ignored "-Winfinite-recursion"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
l_noret luaD_throw (lua_State *L, int errcode) {
|
l_noret luaD_throw (lua_State *L, int errcode) {
|
||||||
|
|
Loading…
Reference in New Issue