[FFmpeg-devel] questions about warnings

Michael Niedermayer michaelni
Sat Jul 17 00:03:19 CEST 2010


On Fri, Jul 16, 2010 at 08:53:01PM +0100, M?ns Rullg?rd wrote:
> John Calcote <john.calcote at gmail.com> writes:
[...]
> > uninitialized usages:
> >    * XXX may be used uninitialized (40 instances)
> 
> Most of these are known to be false positives.  The high false
> positive ratio makes it rather annoying to look for the genuine ones.
> If you want to help with this, that would be very welcome.

i wish gcc had a switch to enable showing just uninitialized variables
where it knowns they are used uninitialized, not all where it just
cannot proof they are not used.


> > suggestions:
> >    * suggest parentheses around comparison (9 instances)
> 
> These are annoying as hell.  The parenthesised code is often
> nigh-impossible to read compared to the bare version.

we could disable that warning

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100717/cb3fa394/attachment.pgp>



More information about the ffmpeg-devel mailing list