[FFmpeg-devel] questions about warnings

Michael Niedermayer michaelni
Sat Jul 17 10:10:57 CEST 2010


On Sat, Jul 17, 2010 at 11:42:12AM +0530, Jai Menon wrote:
> On Sat, Jul 17, 2010 at 3:33 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > 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
> 
> attached
> 
> -- 
> Jai Menon

>  configure |    1 +
>  1 file changed, 1 insertion(+)
> a8a2e95ed4acf081d189eddd7fb4c7126cd66640  warn.diff

iam mildly in favor of this patch

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

There will always be a question for which you do not know the correct awnser.
-------------- 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/d073e636/attachment.pgp>



More information about the ffmpeg-devel mailing list