Skip to content

Commit f1bf91e

Browse files
committed
Silence compiler warning in generated ce_parse.cpp
1 parent 835e768 commit f1bf91e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/constexp.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ int constexpYYerror(yyscan_t yyscanner, const char *s)
7474
start: constant_expression
7575
{
7676
struct constexpYY_state* yyextra = constexpYYget_extra(yyscanner);
77+
/* dummy statement to silence a 'set but not used' compiler warning */ (void)yynerrs;
7778
yyextra->resultValue = $1; return 0;
7879
}
7980
;

0 commit comments

Comments
 (0)