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; ^
Differential D40671 Authored by jhb on Jun 20 2023, 4:34 PM.
Details
Summary 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; ^
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptJun 20 2023, 4:34 PM2023-06-20 16:34:40 (UTC+0) Harbormaster completed remote builds in B52206: Diff 123546.Jun 20 2023, 4:34 PM2023-06-20 16:34:40 (UTC+0) jhb added a parent revision: D40670: libbsnmptools: Fully comment out set but unused count variable..Jun 20 2023, 4:34 PM2023-06-20 16:34:42 (UTC+0) jhb added a child revision: D40672: efi loader: Move 'module' variable under #ifdef MODINFOMD_MODULEP.. This revision is now accepted and ready to land.Jun 20 2023, 4:56 PM2023-06-20 16:56:44 (UTC+0) Closed by commit rG3456659866b6: jail: Mute -Wunused-but-set-variable for yynerrs. (authored by jhb). · Explain WhyJun 20 2023, 7:39 PM2023-06-20 19:39:54 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 123561 usr.sbin/jail/Makefile
|