Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f205d36f5ac1ab0382cb46f8bd9bc007b3122b47 https://github.com/Perl/perl5/commit/f205d36f5ac1ab0382cb46f8bd9bc007b3122b47 Author: Yves Orton <demer...@gmail.com> Date: 2022-09-25 (Sun, 25 Sep 2022)
Changed paths: M toke.c Log Message: ----------- toke.c - silence build warning for non DEBUGGING mode A previous commit introduced the variable 'bool syntax_error' which was only used under DEBUGGING, which produced unused variable warnings on "production" builds. This reworks the code to not need the variable at all. Warning fixed: toke.c: In function ‘Perl_yyerror_pvn’: toke.c:12662:14: warning: unused variable ‘syntax_error’ [-Wunused-variable] 12662 | bool syntax_error = PERL_PARSE_IS_SYNTAX_ERROR(PL_error_count); | ^~~~~~~~~~~~