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)
Wed, Nov 6, 10:40 PM
Unknown Object (File)
Wed, Nov 6, 10:40 PM
Unknown Object (File)
Wed, Nov 6, 10:40 PM
Unknown Object (File)
Tue, Nov 5, 8:26 AM
Unknown Object (File)
Sep 20 2024, 11:47 PM
Unknown Object (File)
Sep 20 2024, 9:08 AM
Unknown Object (File)
Sep 18 2024, 12:50 AM
Unknown Object (File)
Sep 17 2024, 4:12 PM
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