Date: Tue, 14 Jul 2020 08:26:28 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r363172 - head/contrib/bc/src Message-ID: <CAJ-VmokO_7yJmPNSBBWXg-S6nH6jDmLMfNb=kPppVqxaSVGxcQ@mail.gmail.com> In-Reply-To: <CANCZdfpvro6SqJF7zEPJf0vEmY5M-hJUCZUxTZ1W9rOdvrSYTQ@mail.gmail.com> References: <202007140502.06E52IZn022859@repo.freebsd.org> <CANCZdfpvro6SqJF7zEPJf0vEmY5M-hJUCZUxTZ1W9rOdvrSYTQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Jul 2020 at 06:42, Warner Losh <imp@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@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) { >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokO_7yJmPNSBBWXg-S6nH6jDmLMfNb=kPppVqxaSVGxcQ>