Erik Cederstrand wrote this message on Wed, Apr 23, 2014 at 12:06 +0200:
> Den 23/04/2014 kl. 03.12 skrev Ronald F. Guilmette <[email protected]>:
> > 
> > In message <[email protected]>, 
> > Mark Andrews <[email protected]> wrote:
> > 
> >> As for the number of CLANG analysis warnings.  Clang has false
> >> positives
> > 
> > Please define your terms.
> > 
> > I do imagine that the truth or falsehood of your assertion may depend
> > quite substantally on what one does or does not consider a "false
> > positive" in this context.
> 
> Have a look at the ~10.000 reports at 
> http://scan.freebsd.your.org/freebsd-head/ (unavailable ATM). Silly things 
> are reported like missing return at the end of main()

Considering that this is legal C99, it is very silly, from 5.1.2.2.3 of
the C99 spec:
reaching the } that terminates the main function returns a value of 0.

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

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[email protected]"

Reply via email to