HomeFreeBSD

jail: Mute -Wunused-but-set-variable for yynerrs.

Description

jail: Mute -Wunused-but-set-variable for yynerrs.

This is in the generated parser when using %pure-parser.

y.tab.c:382:14: error: variable 'yynerrs' set but not used [-Werror,-Wunused-but-set-variable]

int      yynerrs;
         ^

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D40671

Details

Provenance
jhbAuthored on Jun 20 2023, 7:38 PM
Reviewer
emaste
Differential Revision
D40671: jail: Mute -Wunused-but-set-variable for yynerrs.
Parents
rGf13a7fabfe76: iasl: Disable -Wunused-but-set-variable for a couple of files.
Branches
Unknown
Tags
Unknown