From: Akim Demaille Date: Fri, 4 Jan 2013 15:01:07 +0000 (+0100) Subject: glr.c: fix an unused argument issue X-Git-Tag: v2.7.90~183 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/39ad6cc6acde293499c9501a3bfcb6ac64bdad22 glr.c: fix an unused argument issue * data/glr.c (yyuserAction): "Use" yyrhslen, as in variant mode, we might not use it. --- diff --git a/data/glr.c b/data/glr.c index faab3524..1a545f32 100644 --- a/data/glr.c +++ b/data/glr.c @@ -771,7 +771,8 @@ yyuserAction (yyRuleNum yyn, size_t yyrhslen, yyGLRStackItem* yyvsp, (yystackp->yysplitPoint == YY_NULL); int yylow; ]b4_parse_param_use([yyvalp], [yylocp])dnl -[# undef yyerrok +[ YYUSE (yyrhslen); +# undef yyerrok # define yyerrok (yystackp->yyerrState = 0) # undef YYACCEPT # define YYACCEPT return yyaccept