Would you please check libntp/systime.c
Eric S. Raymond
esr at thyrsus.com
Thu Jun 9 03:04:19 UTC 2016
Matthew Selsky <Matthew.Selsky at twosigma.com>:
> On Tue, Jun 07, 2016 at 11:52:09AM -0700, Hal Murray wrote:
> >
> > The initial symptom is a warning from clang 3.8.0 on a Raspberry Pi.
> >
> > ../../libntp/systime.c:460:37: warning: variable 'tvlast' is uninitialized
> > when
> > used here [-Wuninitialized]
> >
> > Why didn't any of the other tools notice this? The code isn't particularly
> > complicated.
>
> clang as shipped with Xcode 7.3 did notice and an issue was raised:
>
> https://gitlab.com/NTPsec/ntpsec/issues/51
Thanks. Closing that one.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
More information about the devel
mailing list