From ffe8869bb5d34b655bf6b9800ed9583b2b9d2faf Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 19 Sep 2023 14:25:36 +0200 Subject: [PATCH] GRIM: Fix warning about unused variable --- engines/grim/lua/lstx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/grim/lua/lstx.cpp b/engines/grim/lua/lstx.cpp index cf4021b4021..59351b7078b 100644 --- a/engines/grim/lua/lstx.cpp +++ b/engines/grim/lua/lstx.cpp @@ -1447,6 +1447,7 @@ yyerrlab: /* here on detecting error */ if (! yyerrstatus) { /* If not already recovering from an error, report this error. */ ++yynerrs; + (void)yynerrs; yyerror("parse error"); }