svn commit: r276666 - head/sys/conf

John-Mark Gurney jmg at funkthat.com
Mon Jan 5 21:37:39 UTC 2015


Ian Lepore wrote this message on Sun, Jan 04, 2015 at 20:08 +0000:
> Author: ian
> Date: Sun Jan  4 20:08:24 2015
> New Revision: 276666
> URL: https://svnweb.freebsd.org/changeset/base/276666
> 
> Log:
>   Eliminate uninitialized variable warnings in kernel and module builds when
>   building with gcc 4.2
>   
>   This has been requested several times over the past few months by several
>   people (including me), because gcc 4.2 just gets it wrong too often.  It's
>   causing us to litter the code with lots of bogus initializers just to
>   squelch the warnings.  We still have clang and coverity telling us about
>   uninitialized variables, and they do so more accurately.

Thanks.

Now we should go find all the places added the initalization for gcc,
and remove them...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the svn-src-all mailing list