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
Unknown Object (File)
Fri, Nov 29, 2:37 AM
Unknown Object (File)
Fri, Nov 29, 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
Unknown Object (File)
Sep 20 2024, 11:47 PM
Unknown Object (File)
Sep 20 2024, 9:08 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