summaryrefslogtreecommitdiff
path: root/data/skeletons/yacc.c
diff options
context:
space:
mode:
Diffstat (limited to 'data/skeletons/yacc.c')
-rw-r--r--data/skeletons/yacc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/skeletons/yacc.c b/data/skeletons/yacc.c
index fd7e2c33..07a523b0 100644
--- a/data/skeletons/yacc.c
+++ b/data/skeletons/yacc.c
@@ -256,7 +256,7 @@ int yynerrs;]])])
m4_define([b4_declare_parser_state_variables],
[b4_pure_if([[
/* Number of syntax errors so far. */
- int yynerrs]m4_ifval([$1], [ = 0])[;
+ int yynerrs YY_ATTRIBUTE_UNUSED]m4_ifval([$1], [ = 0])[;
]])[
yy_state_fast_t yystate]m4_ifval([$1], [ = 0])[;
/* Number of tokens to shift before error messages enabled. */