mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
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.