Need help reducing compilation warnings in CURRENT

Garrett Cooper yaneurabeya at gmail.com
Sun May 31 02:18:04 UTC 2015


On May 30, 2015, at 19:15, Craig Rodrigues <rodrigc at FreeBSD.org> wrote:

> On Thu, May 28, 2015 at 9:49 AM, Konstantin Belousov <kostikbel at gmail.com>
> wrote:
> 
>> On Wed, May 27, 2015 at 11:30:45PM -0700, Craig Rodrigues wrote:
>> 
>> I take some time to do a pass over mine code or code I am somewhat
>> knowledgable, to correct some 'assigned but not used variable' warnings.
>> There might be even one real bug in SU code uncovered, but I am not
>> sure yet.
>> 
>> Please review at https://reviews.freebsd.org/D2665 .
>> I do not have an intention of splitting this into individual changes.
>> 
> 
> Thanks for committing these fixes.
> Jenkins detected this as fixing 42 warnings:
> 
> https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/34/warnings17Result/
> 
> Every little bit helps!

The -Wstrict-aliasing warnings are particularly useful, considering clang still doesn’t support this detection…
Thanks :)!
-NGie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150530/6c4cba16/attachment.sig>


More information about the freebsd-current mailing list