Resend due to Spam URI Realtime Blocklist (SURBL) bounce.
On 08/22/2013 08:51 AM, Christopher Jones wrote:
On 8/22/13 1:23 AM, Nikita Popov wrote:
On Thu, Aug 22, 2013 at 12:06 AM, Christopher Jones <s...@php.net> wrote:
Assuming this suppresses a `const` qualifier, wouldn't it be better to
remove said qualifier, rather than suppressing the warning?
Not in this usage. The const is valid in the caller of the macros.
It's a compile warning only: the free call is never executed on the
const pointer due to the protecting "if". I may be able to move the
cast up to the macro invocation so that not all users of the macros
will have the warning suppressed.
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php