mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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
404601aca0
commit
60e389ca10
@ -172,7 +172,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
Block a user