[FFmpeg-devel] questions about warnings

Jai Menon jmenon86
Sat Jul 17 08:12:12 CEST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn.diff
Type: text/x-patch
Size: 339 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100717/c2ce8281/attachment.bin>



More information about the ffmpeg-devel mailing list