svn commit: r363172 - head/contrib/bc/src

Adrian Chadd adrian at freebsd.org
Tue Jul 14 15:26:43 UTC 2020


On Tue, 14 Jul 2020 at 06:42, Warner Losh <imp at bsdimp.com> wrote:

> Did you intend to commit to contrib software that has an active upstream?
> This is going to cause conflicts in the future. Maybe you can submit it to
> the new upstream instead?
>

i was going to do both, for the changes to both flex and bc.



-adrian


>
> Warner
>
> On Mon, Jul 13, 2020 at 11:02 PM Adrian Chadd <adrian at freebsd.org> 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.
>>
>> Modified:
>>   head/contrib/bc/src/program.c
>>
>> Modified: head/contrib/bc/src/program.c
>>
>> ==============================================================================
>> --- head/contrib/bc/src/program.c       Tue Jul 14 05:00:08 2020
>> (r363171)
>> +++ head/contrib/bc/src/program.c       Tue Jul 14 05:02:18 2020
>> (r363172)
>> @@ -180,7 +180,7 @@ static inline BcVec* bc_program_vec(const BcProgram *p
>>
>>  static BcNum* bc_program_num(BcProgram *p, BcResult *r) {
>>
>> -       BcNum *n;
>> +       BcNum *n = NULL;
>>
>>         switch (r->t) {
>>
>>


More information about the svn-src-head mailing list