This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ckWARNreg() and ckWARNregdep() now use string concatenation, like their brethren
authorNicholas Clark <nick@ccl4.org>
Mon, 12 Oct 2009 17:48:38 +0000 (18:48 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 12 Oct 2009 17:48:38 +0000 (18:48 +0100)
commitf10f4c183a00badad8742a2a435477ad8cd8c6ee
treec97d401d0eb5fe104d249725ed6d5e6f49439471
parentdeda7dd1144fd5a06d175fcc86754e7d960435b3
ckWARNreg() and ckWARNregdep() now use string concatenation, like their brethren

They had been concatenating "%s" REPORT_LOCATION, as they weren't passing in a
format string, which wasn't consistent with the 2-5 argument versions. None of
the strings passed in have % characters in them, so this is safe (and any static
analyser will be able to see this).
regcomp.c