HomeFreeBSD

Silence -Winfinite-recursion warning in luaD_throw()

Description

Silence -Winfinite-recursion warning in luaD_throw()

This code should be kept inline with the upstream lua version as much
as possible. Therefore, we simply want to silence the warning. This
check was enabled by default as part of -Wall in gcc 12.1.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13528
Closes #13575

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 20 2022, 7:53 PM
Parents
rG2d235d58f829: config: prune unused -Wno-bool-compare checks
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd7a8c573cf4b: Silence -Winfinite-recursion warning in luaD_throw() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 27 2022, 8:38 PM