svn commit: r363172 - head/contrib/bc/src
Brooks Davis
brooks at freebsd.org
Tue Jul 14 17:31:58 UTC 2020
On Tue, Jul 14, 2020 at 05:02:18AM +0000, Adrian Chadd wrote:
> Author: adrian
> Date: Tue Jul 14 05:02:18 2020
> New Revision: 363172
> URL: https://svnweb.freebsd.org/changeset/base/363172
>
> Log:
> [bc] Fix a "maybe uninitialized" compiler warning under mips-gcc-6.3.0.
>
> I guess this didn't like the case statements.. ? But this does quieten
> the compiler error.
IMO it would be better to disable this warning for this (old) compiler
on this file rather than making a change here (in general we should be
removing these sorts of changes). That being said, we need to write
down some guidance on this so we have a clear set of principles and we
can figure out how we decided which compilers are on which side of the
line.
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20200714/03b15a27/attachment.sig>
More information about the svn-src-head
mailing list