Hi --

Joe Orton wrote:

>> New Revision: 491729
>> 
>> URL: http://svn.apache.org/viewvc?view=rev&rev=491729

> Hiya, there were new warnings in the prefork -Werror build this morning:
> 
> mod_dbd.c: In function `ap_dbd_open':
> mod_dbd.c:562: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> mod_dbd.c:573: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules

   Thanks -- we have a crusty old gcc on one machine, so I didn't notice
these.  Also, I see that the p variable in dbd_param() is unused in the
non-threaded version and throws up a warning as well.  With luck this
should fix the warnings; let me know if otherwise:

http://svn.apache.org/viewvc?view=rev&rev=492394

Thanks,

Chris.

-- 
GPG Key ID: 366A375B
GPG Key Fingerprint: 485E 5041 17E1 E2BB C263  E4DE C8E3 FA36 366A 375B

Reply via email to