Page MenuHomeFreeBSD

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

Authored by jhb on Jun 20 2023, 4:34 PM.
Tags
None
Referenced Files
F108429455: D40671.id.diff
Fri, Jan 24, 5:18 PM
Unknown Object (File)
Sat, Jan 18, 9:37 PM
Unknown Object (File)
Nov 29 2024, 2:37 AM
Unknown Object (File)
Nov 29 2024, 2:14 AM
Unknown Object (File)
Nov 6 2024, 10:40 PM
Unknown Object (File)
Nov 6 2024, 10:40 PM
Unknown Object (File)
Nov 6 2024, 10:40 PM
Unknown Object (File)
Nov 5 2024, 8:26 AM
Subscribers

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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable