Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9365cdf765d479a867ee523e7593e40d72e836f3 https://github.com/Perl/perl5/commit/9365cdf765d479a867ee523e7593e40d72e836f3 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths: M amigaos4/amigaio.c M cygwin/cygwin.c M doio.c M os2/os2.c M perl.c M perlio.c M pp_hot.c M pp_sys.c M sv.c M utf8.c M vms/vms.c M win32/win32.c Log Message: ----------- Use ck_warner() more Replace trivial uses of if(ckWARN(WARN_FOO)) warner(packWARN(WARN_FOO), ...); with ck_warner(packWARN(WARN_FOO), ...); This does mean that the format string arguments get evaluated even if the warning category isn't enabled, but the most expensive thing I could see was Strerror(), which I woudn't worry about. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications